This is meant as a fix for bug #5 (closed).
It
DenseMatrix
implementations, e.g. assignment from a DynamicMatrix
to a FieldMatrix
(this previously either compiled and segfaulted or did not compile)FieldMatrix
assignments at compile-timeDenseMatrixAssigner
class in order to remain compatible with user-defined matrix classesTo me it looks 99% good to go. There is only remaining question that I cannot answer on my own:
FieldMatrix<double, 3, 3> x = 27
compile? In other words, should the constructor be marked as explicit
or not? Of course, one can always use FieldMatrix<double, 3, 3> x(27)
instead.I've tested this fix with multiple modules and it doesn't break anything for me.
This addresses issue #5