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