Closed numeredev closed 4 months ago
Describe the bug If string indexing of table columns is used within loops, then an "empty expression" error is thrown.
To Reproduce Steps to reproduce the behavior:
new tbl() tbl(#, :) = {"COL1", "COL2"}; for (i = 1:10) tbl(i, "COL1") = i^2; endfor
Expected behavior The string indices work as regular numerical indices
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.
(Do not write below this line)
(Describe, what's the issue and which changes have to be made)
(see also our Wiki for implementation guidelines)
(see also our Wiki for further information)
*.NHLP
*.NDB
*.NLNG
Seems to be already fixed by some other change. Error is reproducable in last release but not present anymore in current dev version.
DESCRIPTION
Describe the bug If string indexing of table columns is used within loops, then an "empty expression" error is thrown.
To Reproduce Steps to reproduce the behavior:
Expected behavior The string indices work as regular numerical indices
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.
(Do not write below this line)
DEVS' SECTION
ANALYSIS
(Describe, what's the issue and which changes have to be made)
IMPLEMENTATION STEPS
(see also our Wiki for implementation guidelines)
DOCUMENTATION STEPS
(see also our Wiki for further information)
*.NHLP
and*.NDB
files, if needed)*.NLNG
files, if needed)PULL REQUEST