[Scikit-learn-general] [RFC experimental PATCH] Fix copy'n'paste typo

2013-01-18 Thread Thomas Jarosch
cppcheck reported: [sklearn/svm/src/libsvm/svm.cpp:1880] -> [sklearn/svm/src/libsvm/svm.cpp:1875]: (style) Found duplicate branches for 'if' and 'else'. Signed-off-by: Thomas Jarosch --- sklearn/svm/src/libsvm/svm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[Scikit-learn-general] [PATCH] Fix memory allocator/deallocator mismatch

2013-01-18 Thread Thomas Jarosch
deallocation: C Signed-off-by: Thomas Jarosch --- sklearn/svm/src/liblinear/linear.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Please CC: comments, I'm not on the list. diff --git a/sklearn/svm/src/liblinear/linear.cpp b/sklearn/svm/src/liblinear/linear.cpp index 55