minor change: moved algorithm type to the end of params

This commit is contained in:
Dmitriy Anisimov
2014-09-13 15:06:07 +04:00
parent dfaf75f502
commit a6b29be55b
3 changed files with 6 additions and 6 deletions

View File

@@ -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_)
{
}