Hi,
I stumbled across the following bug in the MPI context, but it turns out
it doesn't have anything to do with MPI.
See:
<hansl>
bundle b = null
matrix m = zeros(2,0)
eval nelem(m)
err = mwrite(m, "mcheck.mat", 1)
print err
# re-load
matrix m2 = mread("mcheck.mat", 1) # works
print m2 # correct info ("is empty")
# bundle wrap
matrix b.m = m
err = bwrite(b, "bcheck.xml", 1) # seems to work
bundle b2 = bread("bcheck.xml", 1) # data error
eval $error
</hansl>
Seems the bread() function is not capable of handling the case of
cols="0" (or rows="0") inside the xml-represented bundle.
thanks
sven