Commit 1b92ee2f authored by Ludovic Hussonnois's avatar Ludovic Hussonnois

BUG: Correct superclass call for DoInit and DoUpdate.

parent 63658f46
...@@ -52,12 +52,12 @@ public: ...@@ -52,12 +52,12 @@ public:
protected: protected:
void DoInit() void DoInit()
{ {
TrainVectorBase::DoInit(); Superclass::DoInit();
} }
void DoUpdateParameters() void DoUpdateParameters()
{ {
TrainVectorBase::DoUpdateParameters(); Superclass::DoUpdateParameters();
} }
void DoExecute() void DoExecute()
...@@ -73,7 +73,7 @@ protected: ...@@ -73,7 +73,7 @@ protected:
} }
} }
TrainVectorBase::DoExecute(); Superclass::DoExecute();
if (GetClassifierCategory() == Supervised) if (GetClassifierCategory() == Supervised)
{ {
......
...@@ -101,13 +101,11 @@ void TrainVectorBase::DoInit() ...@@ -101,13 +101,11 @@ void TrainVectorBase::DoInit()
Superclass::DoInit(); Superclass::DoInit();
AddRANDParameter(); AddRANDParameter();
DoInit();
} }
void TrainVectorBase::DoUpdateParameters() void TrainVectorBase::DoUpdateParameters()
{ {
LearningApplicationBase::DoUpdateParameters(); Superclass::DoUpdateParameters();
// if vector data is present and updated then reload fields // if vector data is present and updated then reload fields
if( HasValue( "io.vd" ) ) if( HasValue( "io.vd" ) )
...@@ -141,8 +139,6 @@ void TrainVectorBase::DoUpdateParameters() ...@@ -141,8 +139,6 @@ void TrainVectorBase::DoUpdateParameters()
} }
} }
} }
DoUpdateParameters();
} }
void TrainVectorBase::DoExecute() void TrainVectorBase::DoExecute()
......
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