]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Bug Fix in Patterns::Selection
authorsairajat <rajat.arora9464@gmail.com>
Tue, 7 Feb 2017 21:17:53 +0000 (16:17 -0500)
committersairajat <rajat.arora9464@gmail.com>
Tue, 7 Feb 2017 22:21:48 +0000 (17:21 -0500)
source/base/parameter_handler.cc
tests/parameter_handler/parameter_handler_3_with_space.cc

index a0d6c22ead90937a48029b3339d69ca1203da9ae..128e2410b386c8a6cfdaf60aadd3f1f649ee6db1 100644 (file)
@@ -469,7 +469,7 @@ namespace Patterns
     std::string tmp(sequence);
     // remove whitespace at beginning
     while ((tmp.length() != 0) && (std::isspace (tmp[0])))
-     tmp.erase (0,1);
+      tmp.erase (0,1);
 
     // check the different possibilities
     while (tmp.find('|') != std::string::npos)
index ebff780d54c937fc234eafa7acaa76eed72c6031..f16ab06ff22a6f7ae7e5ff5e6d88c285a51b237b 100644 (file)
@@ -15,7 +15,7 @@
 
 
 
-// test the output generated by ParameterHandler::print_parameters(Text)
+//   Like parameter_handler_03, but use a MultipleSelection pattern that starts with a space; eat that space
 
 #include "../tests.h"
 #include <deal.II/base/logstream.h>

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.