Commit 8dab2ffc authored by Adil Ibragimov's avatar Adil Ibragimov

fixing error, wrong template method param.

parent 6b05ca58
......@@ -5597,7 +5597,7 @@ void minMaxLoc( const SparseMat& src, double* _minval, double* _maxval, int* _mi
double minval = DBL_MAX, maxval = -DBL_MAX;
for( i = 0; i < N; i++, ++it )
{
double v = it.value<float>();
double v = it.value<double>();
if( v < minval )
{
minval = v;
......
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