Commit fda17273 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

applying patch by rxtsolar: https://github.com/Itseez/opencv/pull/5422 for the…

applying patch by rxtsolar: https://github.com/Itseez/opencv/pull/5422 for the master branch (even though it's actually not that important here)
parent d8e3971e
...@@ -1822,8 +1822,8 @@ public: ...@@ -1822,8 +1822,8 @@ public:
} }
} }
params = best_params;
class_labels = class_labels0; class_labels = class_labels0;
setParams(best_params);
return do_train( samples, responses ); return do_train( samples, responses );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment