From 39507e08233b4da881149681c1b57d873c922b82 Mon Sep 17 00:00:00 2001 From: Christoph Gersbacher <christoph.gersbacher@mathematik.uni-freiburg.de> Date: Thu, 17 Oct 2013 10:20:32 +0200 Subject: [PATCH] [static assertion] Make more precise statement to the user in static assertion. --- dune/common/densematrix.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dune/common/densematrix.hh b/dune/common/densematrix.hh index ac82bc38d..29c4de847 100644 --- a/dune/common/densematrix.hh +++ b/dune/common/densematrix.hh @@ -146,7 +146,7 @@ namespace Dune { static void apply ( M &m, const T &t ) { - static_assert( Conversion< T, M >::exists, "No specialization found" ); + static_assert( Conversion< const T, const M >::exists, "No template specialization of DenseMatrixAssigner found" ); m = static_cast< const M & >( t ); } }; -- GitLab