[Dune-devel] [Dune-Commit] [Commit] dune-istl - 002e800: [BlockVector] fix usage of FieldTraits (similar to the PromotionTraits)

Christian Engwer christian.engwer at uni-muenster.de
Thu Aug 15 22:36:00 CEST 2013


On Thu, Aug 15, 2013 at 10:18:38PM +0200, Oliver Sander wrote:
> Hi Christian,
> shouldn't this be enough to fix the issue?  Each BlockVector knows the field_type,
> no matter how deep the template nesting hierarchy is.  Why do you still need
> specializations of FieldTraits for BlockVectors?  (i.e. Bernd's patch?)

Because the documentation of FieldTraits currently state that it also
retrieves the correct types for Vector and Matrix classes.

... although I must admit that I was tempted to change the docs
instead of the code ...

Ciao
Christian




More information about the Dune-devel mailing list