[Dune] [#745] Specialization of FieldMatrix for n=m=1 has wrong method parameter types for mult methods.

Dune flyspray at dune-project.org
Mon Mar 1 16:40:41 CET 2010


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#745 - Specialization of FieldMatrix for n=m=1 has wrong method parameter types for mult methods.
User who did this - Robert Klöfkorn (robertk)

----------
Hi Oli,

why the hack should this compile with X or Y being double vectors: 

    //! y = A x
    template<class X, class Y>
    void mv (const X& x, Y& y) const
    {
      y.p = a[0] * x.p;
    }

You should be more careful when doing changes in the core of DUNE. Just copying the template arguments could have been done by anybody. 

----------

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

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