]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
delete even smaller values
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 28 May 2001 11:28:04 +0000 (11:28 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 28 May 2001 11:28:04 +0000 (11:28 +0000)
git-svn-id: https://svn.dealii.org/trunk@4735 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/common/scripts/normalize.pl

index f229720041c2b2b35a3e47703e0fa1fd1471cb77..01c31a35ae324d30dd016d3e65b8ccfa35a4d06e 100644 (file)
@@ -31,7 +31,7 @@ s/line <\d+> of file <.*\//file </;
 
 # Make small exponentials zero
 
-s/-?\d\.\d+e-1\d+/0.00/g;
+s/-?\d?\.\d+e-[123456789]\d+/0.00/g;
 
 # All doubles have two decimals
 #s/(\.\d\d)\d+/\1/g;

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.