mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Minor change to avoid a compiler warning.
This commit is contained in:
parent
8319811880
commit
23d1c1fa01
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user