Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 98f4f8ff authored by frey_m's avatar frey_m
Browse files

LatinHyperCube: Remove unnecessary computation

parent f230a218
No related branches found
No related tags found
No related merge requests found
......@@ -59,10 +59,7 @@ private:
if ( bin_m.size() + 1e4 < bin_m.capacity() )
bin_m.shrink_to_fit();
double high = (bin + 1) * binsize_m;
double low = bin * binsize_m;
return (high - low) * val + low;
return binsize_m * (val + bin);
}
void fillBins_m(std::size_t n) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment