#1665 FieldVector<Dune::GMPField> does not compile
Metadata
| Property | Value |
|---|---|
| Reported by | Carsten Gräser (graeser@math.fu-berlin.de) |
| Reported at | Jun 10, 2015 14:23 |
| Type | Bug Report |
| Version | Git (pre2.4) [cmake] |
| Operating System | Unspecified / All |
| Last edited by | Carsten Gräser (graeser@math.fu-berlin.de) |
| Last edited at | Jun 16, 2015 22:30 |
| Closed by | Carsten Gräser (graeser@math.fu-berlin.de) |
| Closed at | Jun 16, 2015 22:30 |
| Closed in version | 2.4 |
| Resolution | Fixed |
| Comment | Fixed in master and releases/2.4. |
Description
Dune::FieldVector<Dune::GMPField<128u>,3> is used in test-raviartthomassimplex.cc but does not compile on my system.
The error can be traced back to the fact that operator+= selects the overload for adding a scalar which then tries to construct a scalar from FieldVector. This is triggered by the addition to the fvectortest.cc contained in the attachment.
I also tried to do a full test of FV but this fails in many more positions.
This also prevents the tests in the 2.4 branch of dune-localfunctions from compiling.