From c626c4c63e1b7fc988607619f318823b2f18cd86 Mon Sep 17 00:00:00 2001 From: Kirill Kornyakov Date: Mon, 18 Oct 2010 07:32:12 +0000 Subject: [PATCH] bugfix: wrong command line argument used --- modules/traincascade/boost.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/traincascade/boost.cpp b/modules/traincascade/boost.cpp index 0dc0a05b8..c7304dae3 100644 --- a/modules/traincascade/boost.cpp +++ b/modules/traincascade/boost.cpp @@ -133,7 +133,7 @@ bool CvCascadeBoostParams::scanAttr( const String prmName, const String val) } else if( !prmName.compare( "-maxFalseAlarmRate" ) ) { - weight_trim_rate = (float) atof( val.c_str() ); + maxFalseAlarm = (float) atof( val.c_str() ); } else if( !prmName.compare( "-weightTrimRate" ) ) {