mirror of
https://github.com/opencv/opencv.git
synced 2025-06-11 11:45:30 +08:00
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()
|
||||
{
|
||||
weights_.release();
|
||||
shift_ = 0;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user