]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Improve assert message in Convert 12537/head
authorPeter Munch <peterrmuench@gmail.com>
Fri, 2 Jul 2021 07:45:43 +0000 (09:45 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Fri, 2 Jul 2021 07:45:43 +0000 (09:45 +0200)
include/deal.II/base/patterns.h

index f3d0d08d53b4f93eba7adf2bccccf60b064c2391..8cc66785b79796d94692d83ed6b6a183bc2ab130 100644 (file)
@@ -1402,8 +1402,8 @@ namespace Patterns
     DeclException2(ExcNoMatch,
                    std::string,
                    std::string,
-                   << "The string " << arg1 << " does not match the pattern \""
-                   << arg2 << "\"");
+                   << "The string \"" << arg1
+                   << "\" does not match the pattern \"" << arg2 << "\"");
     //@}
   } // namespace Tools
 } // namespace Patterns

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.