From: bangerth Date: Thu, 20 Nov 2008 02:44:04 +0000 (+0000) Subject: If Lapack functions were called but we didn't link with lapack, then we just created... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4e98bef6a78e8ea5b7c2f1062d4661934ffce00;p=dealii-svn.git If Lapack functions were called but we didn't link with lapack, then we just created an exception object but forgot to throw it. Oops. git-svn-id: https://svn.dealii.org/trunk@17657 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/contrib/blastemplates/templates.pl b/deal.II/contrib/blastemplates/templates.pl index 2ddbb78eec..b11e3e7d39 100644 --- a/deal.II/contrib/blastemplates/templates.pl +++ b/deal.II/contrib/blastemplates/templates.pl @@ -91,7 +91,7 @@ while(<>) $templates .= "\n\n#ifdef HAVE_D$capname\_"; $templates .= "\ninline $type\n$name ($args)\n{\n d$name\_ ($args2);\n}\n"; $templates .= "#else\ninline $type\n$name ($args0)\n"; - $templates .= "{\n LAPACKSupport::ExcMissing(\"d$name\");\n}\n#endif\n"; + $templates .= "{\n Assert (false, LAPACKSupport::ExcMissing(\"d$name\"));\n}\n#endif\n"; $args =~ s/double/float/g; $args0 =~ s/double/float/g; @@ -99,7 +99,7 @@ while(<>) $templates .= "\n\n#ifdef HAVE_S$capname\_"; $templates .= "\ninline $type\n$name ($args)\n{\n s$name\_ ($args2);\n}\n"; $templates .= "#else\ninline $type\n$name ($args0)\n"; - $templates .= "{\n LAPACKSupport::ExcMissing(\"s$name\");\n}\n#endif\n"; + $templates .= "{\n Assert (false, LAPACKSupport::ExcMissing(\"s$name\"));\n}\n#endif\n"; } }