]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Reinclude assertion which has been removed accidentally in patch -r12645.
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 11 Jun 2008 13:07:56 +0000 (13:07 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 11 Jun 2008 13:07:56 +0000 (13:07 +0000)
git-svn-id: https://svn.dealii.org/trunk@16296 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/parameter_handler.cc

index a31ee4f02b37b6fa6cd91f5554ad2447dda25fbd..3fd5882253f1b3491d592ec366cdb5836e27023a 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -744,7 +744,7 @@ long int ParameterHandler::get_integer (const std::string &entry_string) const
   char *endptr;
   long int i = std::strtol (s.c_str(), &endptr, 10);
                                   // assert there was no error
-//  AssertThrow (*endptr == '\0', ExcConversionError(s));
+  AssertThrow (*endptr == '\0', ExcConversionError(s));
 
   return i;
 }

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.