[Dune] [#1024] Constructor call DiagonalMatrix<K, n>::DiagonalMatrix(FieldVector<K, 1>) ambiguous for n>2
Dune
flyspray at dune-project.org
Sun Jan 22 17:15:30 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 - Oliver Sander (sander)
----------
Your patch makes the fvectortest fail:
sander at igel:~/dune/dune-common/dune/common/test$ make fvectortest
g++ -std=c++0x -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -MT fvectortest.o -MD -MP -MF .deps/fvectortest.Tpo -c -o fvectortest.o fvectortest.cc
fvectortest.cc: In constructor ‘FieldVectorMainTest<ft, rt, d>::FieldVectorMainTest() [with ft = int, rt = int, int d = 3]’:
fvectortest.cc:210:5: instantiated from ‘FieldVectorTest<ft, d>::FieldVectorTest() [with ft = int, int d = 3]’
fvectortest.cc:241:29: instantiated from here
fvectortest.cc:78:44: error: conversion from ‘Dune::FieldVector<int, 3>’ to non-scalar type ‘Dune::FieldVector<std::complex<int>, 3>’ requested
fvectortest.cc:210:5: instantiated from ‘FieldVectorTest<ft, d>::FieldVectorTest() [with ft = int, int d = 3]’
fvectortest.cc:241:29: instantiated from here
fvectortest.cc:80:51: error: conversion from ‘const Dune::FieldVector<int, 3>’ to non-scalar type ‘const Dune::FieldVector<std::complex<int>, 3>’ requested
Can you fix that?
----------
More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=1024#comment3061
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