#1339 Conversion error from DiagonalMatrix to Fieldmatrix
Metadata
Property | Value |
---|---|
Reported by | Dirk Ribbrock (dirk.ribbrock@math.uni-dortmund.de) |
Reported at | Aug 26, 2013 20:10 |
Type | Bug Report |
Version | 2.2 |
Operating System | Linux |
Last edited by | Christian Engwer (christi@conan.iwr.uni-heidelberg.de) |
Last edited at | Aug 26, 2013 20:43 |
Closed by | Christian Engwer (christi@conan.iwr.uni-heidelberg.de) |
Closed at | Aug 26, 2013 20:43 |
Closed in version | Unknown |
Resolution | Duplicate |
Comment | duplicate of #1191 (closed) |
Description
Dune Module: Common repository: exadune/common https://cgit.dune-project.org/repositories/exadune/common/ branch: master HEAD: 9ac6d0957abae6070d82cc8f0edec205d787bf3c
g++: 4.6.3
Compilation of diagonalmatrixtest.cc in common/tests fails with: diagonalmatrixtest.cc: In function ‘void test_matrix() [with K = double, int n = 5]’: diagonalmatrixtest.cc:77:28: instantiated from here diagonalmatrixtest.cc:54:53: error: conversion from ‘Dune::DiagonalMatrix<double, 5>’ to non-scalar type ‘Dune::FieldMatrix<double, 5, 5>’ requested In file included from ../../../dune/common/fmatrix.hh:13:0, from ../../../dune/common/diagonalmatrix.hh:16, from diagonalmatrixtest.cc:7: