Fixed assertion in ORB::setFirstLevel()

This commit is contained in:
Vitaly Tuzov
2018-02-01 16:58:35 +03:00
parent 205022ceee
commit 26321795f7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -673,7 +673,7 @@ public:
void setEdgeThreshold(int edgeThreshold_) { edgeThreshold = edgeThreshold_; }
int getEdgeThreshold() const { return edgeThreshold; }
void setFirstLevel(int firstLevel_) { CV_Assert(firstLevel >= 0); firstLevel = firstLevel_; }
void setFirstLevel(int firstLevel_) { CV_Assert(firstLevel_ >= 0); firstLevel = firstLevel_; }
int getFirstLevel() const { return firstLevel; }
void setWTA_K(int wta_k_) { wta_k = wta_k_; }