Commit 23d1c1fa authored by Davis King's avatar Davis King

Minor change to avoid a compiler warning.

parent 83198118
......@@ -481,7 +481,7 @@ namespace
const double width = right-left;
matrix<double> values_to_check = linspace(left +l*width, left + r*width, 100);
double best_x;
double best_x = 0;
double best_val = std::numeric_limits<double>::infinity();
for (long j = 0; j < values_to_check.size(); ++j)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment