1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2024-11-10 00:45:36 +00:00

fix in fit dimension name indexing

This commit is contained in:
Antonin Portelli 2016-04-19 19:15:42 -07:00
parent 1f7dba7779
commit 60170db570

View File

@ -58,7 +58,7 @@ void FitInterface::addXDim(const Index nData, const string name,
scheduleDataCoordInit();
if (!name.empty())
{
xName().setName(getNXDim(), name);
xName().setName(getNXDim() - 1, name);
}
}
}
@ -70,7 +70,7 @@ void FitInterface::addYDim(const string name)
scheduleLayoutInit();
if (!name.empty())
{
yName().setName(getNYDim(), name);
yName().setName(getNYDim() - 1, name);
}
}