Commit d8c9bb77 authored by Ievgen Khvedchenia's avatar Ievgen Khvedchenia

Fix return value of descriptorType()

parent 86888bdf
......@@ -45,11 +45,11 @@ namespace cv
{
if (descriptor < MLDB_UPRIGHT)
{
return CV_32FC1;
return CV_32F;
}
else
{
return CV_8UC1;
return CV_8U;
}
}
......
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