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

Dune flyspray at dune-project.org
Fri Feb 26 11:48:52 CET 2010


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Robert Klöfkorn (robertk) 

Attached to Project - Dune
Summary - Specialization of FieldMatrix for n=m=1 has wrong method parameter types for mult methods.
Task Type - Bug Report
Category - Common
Status - New
Assigned To - 
Operating System - Unspecified / All
Severity - High
Priority - High
Reported Version - SVN (pre2.0)
Due in Version - Undecided
Due Date - Undecided
Details - Example: The normal FieldMatrix class has a mult method with the following parameters: 

    //! y = A x
    template<class X, class Y>
    void mv (const X& x, Y& y) const;

In the specialization of this class for n=m=1 this method reads: 

    void mv (const FieldVector<K,1>& x, FieldVector<K,1>& y) const;
    
thus being completly wrong when types different to FieldVector are used in an generic code. These method in FieldMatrix<K,1,1> should have the same template parameter as the normal FieldMatrix class.

   


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

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