[Dune] [#954] DenseVector operator * , operator -=, etc. are missing a template parameter.

Dune flyspray at dune-project.org
Mon Sep 19 12:48:01 CEST 2011


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 - DenseVector operator * , operator -=, etc. are missing a template parameter.
Task Type - Bug Report
Category - Common
Status - New
Assigned To - 
Operating System - Unspecified / All
Severity - Medium
Priority - High
Reported Version - SVN (pre2.2)
Due in Version - Undecided
Due Date - Undecided
Details - The methods on DenseVector like 
operator-= (const DenseVector& y)
value_type operator* (const DenseVector& y) const, 
an all other methods with this signature are missing a template parameter. 

The correct code should be: 

template <class W> 
value_type operator* (const DenseVector<W>& y) const;

otherwise the following code does not compile: 

FieldVector< double, 3> w(1);
DynamicVector< double > v (3, 1 );

double res = w * v ;




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

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