[Dune] [#949] Non-matching FieldVector types

Dune flyspray at dune-project.org
Thu Sep 8 17:04:07 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 - Andreas Dedner (dedner)

----------
Why not add the constructor:
   template<class K1, int SIZE1>
    FieldVector (const DenseVector< FieldVector<K1,SIZE1> > & x)
    {
      dune_static_assert(SIZE1 == SIZE, "FieldVector in constructor has wrong size");
      for (size_type i = 0; i<SIZE; i++)
        _data[i] = x[i];
    }
At least that solved the problem in this test...
----------

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

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