[Dune] [#892] FieldVector-FieldVector operations must statically check the size!

Dune flyspray at dune-project.org
Fri Mar 4 10:54:40 CET 2011


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has been changed.  The changes are listed below.  For full information about what has changed, visit the URL and click the History tab.

FS#892 - FieldVector-FieldVector operations must statically check the size!
User who did this: Markus Blatt (mblatt)
Task details edited:
-------
There a quite a few methods in FieldVector with a FieldVector as the only argument, that only make sense if both vectors have the same size.
Unfortunately, most of them are forwarded to the base class DenseVector which only has a dynamic assertion which checks the size.

This is far from ideal and I would propose a static_assert in FieldVector itself!

I have already fixed this for the copy constructor.

Some of the methods that should still be changed are:

operator=
operator+=
operator-=
...
-------

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=892

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