Commit c5221723 authored by Marina Noskova's avatar Marina Noskova

Fixed small bug in SVMSGD::clear().

parent 05353a14
......@@ -502,6 +502,7 @@ void SVMSGDImpl::readParams( const FileNode& fn )
void SVMSGDImpl::clear()
{
weights_.release();
shift_ = 0;
}
......
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