If one uses index vectors in a string expression, it seems that it is not possible any more:
print results(#,cmp(results(1,:), max(results(1,:)), 0)) + " gewinnt!"
This doesn't work currently.
The issue is the usage of the max() function, which has been overloaded for strings. In the argument parsing function parser_StringFuncArgParser(..., bool& bLogicalOnly) (there are multiple of this function, but only one with the bool& at the end) the boolean flag bLogicalOnly is not set for the case that there are no strings in the argument. Add bLogicalOnly = true; directly before the final return sArg.size(); statement (around the line 2561). Use the file from ticket [#402] for testing.
The fix was added to the automatic tests. No deviations detected. Bug fix implemented successfully.
Anonymous
Diff:
Diff:
Diff:
Related
Tickets:
#402Diff:
Related
Commit: [r451]
Tickets:
#402Diff: