[Dune-devel] PromotionTraits broken

Christoph Grüninger christoph.grueninger at iws.uni-stuttgart.de
Fri Sep 18 23:23:33 CEST 2015


Hi Oliver,
your recent change to the PromotionTraits seems to have broken 
dune-istl:

[  8%] Building CXX object 
dune/istl/test/CMakeFiles/dotproducttest.dir/dotproducttest.cc.o
In file included from 
/temp/gruenich/dune-istl/dune/istl/test/dotproducttest.cc:4:
In file included from 
/temp/gruenich/dune-istl/dune/istl/bvector.hh:12:
/temp/gruenich/dune-common/dune/common/promotiontraits.hh:26:40: 
error: invalid operands to binary expression 
('Dune::BlockVector<Dune::FieldVector<int, 5>, 
std::allocator<Dune::FieldVector<int, 5> > >' and 
'Dune::BlockVector<Dune::FieldVector<std::complex<int>, 5>, 
std::allocator<Dune::FieldVector<std::complex<int>, 5> > >')
     typedef decltype(std::declval<T1>()+std::declval<T2>()) 
PromotedType;
                      ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
Do you mind having a look?

Bye
Christoph

-- 
Je n'ai rien contre les étrangers, quelques uns de mes 
meilleurs amis
sont des étrangers. Mais ces étrangers là ne sont pas de chez 
nous!
[Agecanonix, Astérix - Le cadeau de César]




More information about the Dune-devel mailing list