mirror of
https://github.com/opencv/opencv.git
synced 2025-06-15 14:10:51 +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()
|
void SVMSGDImpl::clear()
|
||||||
{
|
{
|
||||||
weights_.release();
|
weights_.release();
|
||||||
|
shift_ = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user