opencv_contrib icon indicating copy to clipboard operation
opencv_contrib copied to clipboard

SVM Copy constructor

Open opencv-pushbot opened this issue 10 years ago • 0 comments

Transferred from http://code.opencv.org/issues/2226

|| Alexander Knaust on 2012-08-01 16:12
|| Priority: Normal
|| Affected: None
|| Category: ml
|| Tracker: Feature
|| Difficulty: 
|| PR: 
|| Platform: None / None

SVM Copy constructor

Currently it seems that copying an SVM object (using the default copy constructor) does not function correctly. This prevents passing copies to functions, or using an SVM in a vector. See http://answers.opencv.org/question/1005/copying-an-svm/ for example/error message.

History

Daniil Osokin on 2012-08-02 06:31
-   Category set to ml
Alexander Smorkalov on 2013-12-03 06:38
-   Target version set to Next Hackathon
Amro _ on 2013-12-28 08:37
Related bug opencv/opencv#3358 was closed after making both the copy constructor and assignment operator private: https://github.com/Itseez/opencv/pull/1834

I think that was a temporary fix until the above two functions are correctly implemented..

opencv-pushbot avatar Jul 27 '15 09:07 opencv-pushbot