Closed alaingdl closed 2 months ago
just to confirm that this problem don't exist for true structures, e.g. (as in test_structures.pro
)
structarray=REPLICATE({test, value:0.0},10)
size(STRUCTARRAY,/stru)
size(STRUCTARRAY[0],/stru)
same outputs in IDL & GDL :)
(but I will try to add that somewhere in the test suite)
ok, also print,(strucobj).n_dimensions
is wrong in both cases (but OK for structures ...)
These bugs are corrected in #1815
Please open a new issue if related problems found, with related snippets.
Working in cleaning some other tests, I got this small mistake for HASH() and LIST().
and for LIST()
The value is OK for arrays (1, [1], [1,2], ...)