Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit 2bad684

Browse files
author
Sebastien Guiriec
committed
Merge remote-tracking branch 'fgaffie/fix_dump_element' into fix
2 parents f368315 + d4ac41d commit 2bad684

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parameter/ArrayParameter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ bool CArrayParameter::access(std::vector<string> &astrValues, bool bSet,
171171
string CArrayParameter::logValue(CParameterAccessContext &context) const
172172
{
173173
// Dump values
174-
return getValues(0, context);
174+
return getValues(getOffset() - context.getBaseOffset(), context);
175175
}
176176

177177
// Used for simulation and virtual subsystems

0 commit comments

Comments
 (0)