aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetIOScalar
diff options
context:
space:
mode:
authorThomas Radke <tradke@aei.mpg.de>2007-04-20 14:44:00 +0000
committerThomas Radke <tradke@aei.mpg.de>2007-04-20 14:44:00 +0000
commita242cc79efe64e914e07a18f9691451d1322712a (patch)
tree82e7ea6636b162db44eb05625f47ee5b2785bd92 /Carpet/CarpetIOScalar
parenta3c8d732c81e20fe345759f3e573686adc674d8f (diff)
CarpetIOScalar: fix bug in utility script mergeCarpetIOScalar.pl
Not all data lines were output in the case of duplicate timesteps in multiple input files. darcs-hash:20070420144410-776a0-63258576be7f53c185fe5458c9a7f4943bab9049.gz
Diffstat (limited to 'Carpet/CarpetIOScalar')
-rwxr-xr-xCarpet/CarpetIOScalar/src/util/mergeCarpetIOScalar.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/CarpetIOScalar/src/util/mergeCarpetIOScalar.pl b/Carpet/CarpetIOScalar/src/util/mergeCarpetIOScalar.pl
index adddd37d1..d31a2f80e 100755
--- a/Carpet/CarpetIOScalar/src/util/mergeCarpetIOScalar.pl
+++ b/Carpet/CarpetIOScalar/src/util/mergeCarpetIOScalar.pl
@@ -57,5 +57,5 @@ while (<>) {
# falls diese Zeile eine Datenzeile ist:
# ueberspringe alle Datensaetze mit dieser Iterationsnummer
# bis auf den letzten
- print unless (/^(\d+(.\d+)?)\s/ and --$timesteps{$1} > 0);
+ print unless (/^(\d+(.\d+)?)\s/ and --$timesteps{$1} == 0);
}