[Dune] [#949] Non-matching FieldVector types
Dune
flyspray at dune-project.org
Thu Sep 8 15:42:20 CEST 2011
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#949 - Non-matching FieldVector types
User who did this - Carsten Gräser (Carsten)
----------
Actually it's a failing assertion. The problem is, that there's a non-explicit constructor of FieldVector from an arbitrary DenseVector<C> that is used to construct a temporary. This one can only check the size dynamically. Furthermore it circumvents the explicit constructor from FieldVector that does a static size check.
Perhaps one could disable this constructor (using enable_if) if C is a FieldVector itself. Or one could extend the DenseMatVecTraits to export if the size is dynamic or static. In the later case one could do a static size check.
----------
More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=949#comment2669
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the Dune
mailing list