Fix return value of descriptorType()

This commit is contained in:
Ievgen Khvedchenia 2014-04-26 23:34:07 +03:00
parent 86888bdf77
commit d8c9bb777e

View File

@ -45,11 +45,11 @@ namespace cv
{
if (descriptor < MLDB_UPRIGHT)
{
return CV_32FC1;
return CV_32F;
}
else
{
return CV_8UC1;
return CV_8U;
}
}