[dune-fem] Bug in scalarproducts.hh due to Dune::GenericOperator

Agnese, Marco m.agnese13 at imperial.ac.uk
Fri Feb 6 16:31:47 CET 2015


Hi, 
with the last pulls there is a bug in the file scalarproducts.hh
 
dune-fem/dune/fem/function/common/scalarproducts.hh:126:40: error: no matching function for call to ‘Dune::GenericIterator<Dune::Fem::CommunicationIndexMap, int>::GenericIterator(const IndexMapType&, int)’
                                   index); 

due to the fact

/dune-common/dune/common/genericiterator.hh:198:5: note:   no known conversion for argument 1 from ‘const IndexMapType {aka const Dune::Fem::CommunicationIndexMap}’ to ‘Dune::GenericIterator<Dune::Fem::CommunicationIndexMap, int>::Container& {aka Dune::Fem::CommunicationIndexMap&}’

I don't understand why since slaves_ is not const. Someone can look into it?

I attach the full error log.

Cheers,
Marco.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: out
Type: application/octet-stream
Size: 30803 bytes
Desc: out
URL: <https://lists.dune-project.org/pipermail/dune-fem/attachments/20150206/ab3e2203/attachment.obj>


More information about the dune-fem mailing list