Fixed small bug in SVMSGD::clear().

This commit is contained in:
Marina Noskova 2016-02-10 16:44:16 +03:00
parent 05353a1492
commit c522172367

View File

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