mirror of
https://github.com/opencv/opencv.git
synced 2024-11-26 04:00:30 +08:00
fixing error, wrong template method param.
This commit is contained in:
parent
6b05ca589d
commit
8dab2ffce7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user