Fixed small bug in SVMSGD::clear().
This commit is contained in:
@@ -502,6 +502,7 @@ void SVMSGDImpl::readParams( const FileNode& fn )
|
||||
void SVMSGDImpl::clear()
|
||||
{
|
||||
weights_.release();
|
||||
shift_ = 0;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user