{
int aVal = (*anIter).toInt( &isOk );
if ( isOk )
- aDim.append( aVal - 1 );
+ aDim.append( aVal );
}
// for algo
}
}
- HypothesisData* aHypLibNames =
+ HypothesisData* aHypData =
new HypothesisData (aHypAlType, myPluginName, myServerLib, myClientLib,
aLabel, anIcon, aDim, isAux,
attr[ HYPOS ], attr[ OPT_HYPOS ], attr[ INPUT ], attr[ OUTPUT ]);
if (qName == "algorithm")
{
- myAlgorithmsMap[(char*)aHypAlType.latin1()] = aHypLibNames;
+ myAlgorithmsMap[(char*)aHypAlType.latin1()] = aHypData;
}
else
{
- myHypothesesMap[(char*)aHypAlType.latin1()] = aHypLibNames;
+ myHypothesesMap[(char*)aHypAlType.latin1()] = aHypData;
}
}
}