mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
minor change: moved algorithm type to the end of params
This commit is contained in:
@@ -50,11 +50,11 @@
|
||||
namespace cv {
|
||||
namespace ml {
|
||||
|
||||
KNearest::Params::Params(int algorithmType_, int k, bool isclassifier_, int Emax_) :
|
||||
algorithmType(algorithmType_),
|
||||
KNearest::Params::Params(int k, bool isclassifier_, int Emax_, int algorithmType_) :
|
||||
defaultK(k),
|
||||
isclassifier(isclassifier_),
|
||||
Emax(Emax_)
|
||||
Emax(Emax_),
|
||||
algorithmType(algorithmType_)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user