We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d6c995 commit a98fd65Copy full SHA for a98fd65
source/framework/core/src/TRestRun.cxx
@@ -1477,7 +1477,7 @@ string TRestRun::ReplaceMetadataMembers(const string instr) {
1477
string expressionToReplace = outstring.substr(startPosition + 1, endPosition - startPosition - 1);
1478
string value = ReplaceMetadataMember(expressionToReplace);
1479
1480
- outstring.replace(startPosition, endPosition - startPosition + 2, value);
+ outstring.replace(startPosition, endPosition - startPosition + 1, value);
1481
endPosition = 0;
1482
}
1483
0 commit comments