Skip to content

Allow number types as entries of matrix and vector types

Oliver Sander requested to merge allow-blockvector-of-doubles into master

So, for example, you can write

BlockVector<double>

instead of

BlockVector<FieldVector<double,1> >

and it will do what you expect it to do. With this patch, any type for which Dune::IsNumber<T>::value returns true will end the recursion.

Edited by Oliver Sander

Merge request reports

Loading