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:
parent
1f7dba7779
commit
60170db570
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user