Update svm.cpp

(2079)Added return value to one-class SVM.