From f7460248521645cee018cd13e944e0c86ca0f4f2 Mon Sep 17 00:00:00 2001 From: Christian Engwer <christi@dune-project.org> Date: Sun, 5 May 2013 18:16:59 +0200 Subject: [PATCH] [test] also test assignment of fieldmatrix from densematrix --- dune/common/test/diagonalmatrixtest.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dune/common/test/diagonalmatrixtest.cc b/dune/common/test/diagonalmatrixtest.cc index 7a422c40e..42bce5724 100644 --- a/dune/common/test/diagonalmatrixtest.cc +++ b/dune/common/test/diagonalmatrixtest.cc @@ -51,6 +51,9 @@ void test_matrix() // assign to FieldMatrix DUNE_UNUSED FieldMatrix<K,n,n> AFM = FieldMatrix<K,n,n>(A); + DUNE_UNUSED FieldMatrix<K,n,n> AFM2 = A; + DUNE_UNUSED FieldMatrix<K,n,n> AFM3; + AFM3 = A; } template<class K, int n> -- GitLab