From 0307dd19fdd7f4b0b5fa25c532dd0f34ad9574cd Mon Sep 17 00:00:00 2001 From: Marina Noskova Date: Wed, 10 Feb 2016 18:21:45 +0300 Subject: [PATCH] Minor fix in declaration of SVMSGD::setOptimalParameters --- modules/ml/include/opencv2/ml.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ml/include/opencv2/ml.hpp b/modules/ml/include/opencv2/ml.hpp index 3a8c2ba25..e23c242d5 100644 --- a/modules/ml/include/opencv2/ml.hpp +++ b/modules/ml/include/opencv2/ml.hpp @@ -1637,7 +1637,7 @@ public: * @param marginType is the type of margin constraint. Legal values are MarginType::SOFT_MARGIN and MarginType::HARD_MARGIN. * Default value is MarginType::SOFT_MARGIN. */ - CV_WRAP virtual void setOptimalParameters(int svmsgdType = ASGD, int marginType = SOFT_MARGIN) = 0; + CV_WRAP virtual void setOptimalParameters(int svmsgdType = SVMSGD::ASGD, int marginType = SVMSGD::SOFT_MARGIN) = 0; /** @brief %Algorithm type, one of SVMSGD::SvmsgdType. */ /** @see setAlgorithmType */