mirror of https://github.com/davisking/dlib.git
Minor cleanup
This commit is contained in:
parent
cbbd84479a
commit
6bf4a648b0
|
@ -83,7 +83,7 @@ void bsp_job_other_nodes (
|
|||
const double width = right-left;
|
||||
const matrix<double> values_to_check = linspace(left+l*width, left+r*width, grid_resolution);
|
||||
|
||||
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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue