Commit c626c4c6 authored by Kirill Kornyakov's avatar Kirill Kornyakov

bugfix: wrong command line argument used

parent 0f7c2e01
......@@ -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" ) )
{
......
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