fixing error, wrong template method param.

This commit is contained in:
Adil Ibragimov 2014-08-07 17:43:32 +04:00
parent 6b05ca589d
commit 8dab2ffce7

View File

@ -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;