Table headlines cannot be combined using 'sum()'
Framework for numerical computations, data analysis and visualisation
Brought to you by:
numere
One cannot use the sum() function to combine (concatenate) the strings in table headlines.
Rejected:
This issue may not be reproduced.
Reopened:
The issue is reproducable: one has to use it together with another string like sum(targetTable(#, :) + "\n"). This will not work.
The issue is that the strings returned from a table are expanded as a list and not kept as a standard vector. The issue is fixed, if one changes
sData.clear();
for (size_t i = 0; i < strRes.vResult.size(); i++)
sData += strRes.vResult[i] + ", ";
if (sData.length())
sData.erase(sData.rfind(','));
to
sData = parser_CreateStringVectorVar(strRes.vResult, mStringVectorVars);
This fix was tested in the automatic SW tests. No deviations detected.
Anonymous
Diff:
Diff:
Diff:
Diff:
Diff:
Related
Commit: [r380]
Diff: