Oh dear, that's my fault. I've just pushed a fix (54f9742), although I'm not convinced that Maxima isn't doing something weird. The behaviour that triggers the bug in diag.mac is that matrix([1]) . matrix([1]) yields 1, rather than a matrix.
The result still isn't brilliant, since it turns into matrix([1]) . a, but at least it doesn't explode any more...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry, I should have mentioned this is using the (updated) diag.mac package in share.
Oh dear, that's my fault. I've just pushed a fix (54f9742), although I'm not convinced that Maxima isn't doing something weird. The behaviour that triggers the bug in diag.mac is that
matrix([1]) . matrix([1])
yields 1, rather than a matrix.The result still isn't brilliant, since it turns into matrix([1]) . a, but at least it doesn't explode any more...