Skip to content

Check value_type of const_iterator in DenseMatrixAssigner

Tobias Leibner requested to merge (removed):fieldvector_of_fieldmatrix into master

Currently, hasDenseMatrixAssigner<Type>::value is true whenever Type::const_iterator is defined. This bit me when trying to use operator-= with a FieldVector<Fieldmatrix<double,2,2>,2>(which worked in release 2.4 but fails to compile in 2.5) but I guess the problem could occur whenever the hasDenseMatrixAssigneris used with container types that define a const_iterator.

Merge request reports

Loading