fixed MSVC warnings and iOS framework compile error

This commit is contained in:
Vadim Pisarevsky
2014-10-18 21:58:34 +04:00
parent b37a641cc9
commit dcee883961
3 changed files with 3 additions and 7 deletions

View File

@@ -75,7 +75,7 @@ namespace cv
void setUpright(bool upright_) { upright = upright_; }
bool getUpright() const { return upright; }
void setThreshold(double threshold_) { threshold = threshold_; }
void setThreshold(double threshold_) { threshold = (float)threshold_; }
double getThreshold() const { return threshold; }
void setNOctaves(int octaves_) { octaves = octaves_; }