#1470 Segfault for FieldVector with filedtype = FieldMatrix
Metadata
Property | Value |
---|---|
Reported by | Tobias Malkmus (tomalk@mathematik.uni-freiburg.de) |
Reported at | Jun 4, 2014 06:38 |
Type | Bug Report |
Version | 2.3 |
Operating System | Unspecified / All |
Description
The attached examples causes a segfault with the actual master and gcc 4.8.2.
This bug seems to be related to #1457 (closed) since gcc choses
template <typename ValueType>
typename std::enable_if<
std::is_convertible<ValueType, value_type>::value,
derived_type
>::type&
operator+= (const ValueType& kk)
{ ... }
instead of
template <class Other>
derived_type& operator+= (const DenseVector<Other>& y)
{ ... }
I was not abled to figure out why gcc makes this choice.