Fixed small bug in SVMSGD::clear().

pull/6096/head
Marina Noskova 9 years ago
parent 05353a1492
commit c522172367
  1. 1
      modules/ml/src/svmsgd.cpp

@ -502,6 +502,7 @@ void SVMSGDImpl::readParams( const FileNode& fn )
void SVMSGDImpl::clear()
{
weights_.release();
shift_ = 0;
}

Loading…
Cancel
Save