[Dune] [#1024] Constructor call DiagonalMatrix<K, n>::DiagonalMatrix(FieldVector<K, 1>) ambiguous for n>2 (Attachment added)

Dune flyspray at dune-project.org
Mon Jan 23 09:42:00 CET 2012


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#1024 - Constructor call DiagonalMatrix<K,n>::DiagonalMatrix(FieldVector<K,1>) ambiguous for n>2
User who did this - Uli Sack (usack)

----------
Hm,
yes I'm sometimes still a beginner in SW-dev. I should have run the test myself of course, before sending a patch.
Obviously the above construction did break implicit type conversion after all, but doesn't if enable_if is used with an extra default/dummy argument as in the (new) attached patch. (anybody have an idea why?)
With this patch, now the fvectortest compiles and runs as well as my little code snippet checking constructors of DiagonalMatrix.


----------

One or more files have been attached.

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

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