From 0cfc82525ecfa831633548ec5669e33818de2773 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A5l=20Gr=C3=B8n=C3=A5s=20Drange?= Date: Wed, 3 Aug 2016 17:37:04 +0200 Subject: [PATCH] static_assert has signature (bool, str) --- opm/elasticity/elasticity_preconditioners.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opm/elasticity/elasticity_preconditioners.hpp b/opm/elasticity/elasticity_preconditioners.hpp index 8a5e7ab..613f40b 100644 --- a/opm/elasticity/elasticity_preconditioners.hpp +++ b/opm/elasticity/elasticity_preconditioners.hpp @@ -42,7 +42,7 @@ typedef Dune::UMFPack LUSolver; #elif defined(HAVE_SUPERLU) typedef Dune::SuperLU LUSolver; #else -static_assert("Enable either SuperLU or UMFPACK"); +static_assert(false, "Enable either SuperLU or UMFPACK"); #endif //! \brief A linear operator