On Sat, 6 Mar 2021, Artur Tarassow wrote:
Hi,
I just found that an "exported" 1by1 matrix becomes a scalar once it is a
bundle member.
It's a matrix as a bundle member, but it becomes a scalar when
extracted with no type specifier.
<hansl>
matrix m = {7}
bundle b
b.m = m
eval typeof(b.m)
x = b.m
eval typeof(x)
</hansl>
I guess that's a bug as the data type changes but I may be wrong.
I'd say it's a bug only if the extracted scalar won't function as if
it were a 1x1 matrix. I think that's covered now, but maybe not in
all cases?
Allin