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