]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
direction check, mt
authorHadaq <hadaq@hades39.gsi.de>
Mon, 20 Jun 2016 17:24:33 +0000 (19:24 +0200)
committerHadaq <hadaq@hades39.gsi.de>
Mon, 20 Jun 2016 17:24:33 +0000 (19:24 +0200)
thresholds/thresholds_automatic.pl

index b6dd1d680ca45b161f61c2197740c727b5d164b6..dbdd04fbfbb4e755c68637042d6d25909d9eb545 100755 (executable)
@@ -86,7 +86,7 @@ if ($offset) {
   #print "called with offset: $offset\n";
 }
 
-if ($default_direction =! 1 && $default_direction =! -1) {
+if ($default_direction != 1 && $default_direction != -1) {
     die "direction can only be 1 or -1";
 }