A.class #=> FloatMDMatrix2D (same)
y.class #=> DoubleMDMatrix2D (changed by calculations)
end
The loop breaks after the first run, because A can’t be multiplied with
y anymore —
NameError: no method ‘zMult’ for arguments
(cern.colt.matrix.tdouble.impl.DenseDoubleMatrix2D,cern.colt.matrix.tfloat.impl.Dense
… (long bla bla on Java stuff).
I did not see your message before. This is actually a bug. ‘y’ should
still be a float after the first iteration and not a double. If you
can, please open an issue on MDArray github. Anyway, I´ll take a look
at it and try to make a new version. Of course, the workaround should
be to use doubles for all matrices.