Fix syntaxe

master
Heuzef 5 years ago
parent 9a6e8d1c76
commit fa81dcc333
  1. 4
      check_size_consistency.pl

@ -173,7 +173,7 @@ print("\n----------------\n");
print("\n----------------\n"); print("\n----------------\n");
# TOO SMALL ? # TOO SMALL ?
my $toosmall = "true"; my $toosmall = "true";
if ( $json->{new_size} > $json->{new_size_q3} + $json->{new_size_q3} - $json->{new_size_q1}) * 1.5 && $json->{new_size} > $json->{new_size_avg} * 6 ) { if ( $json->{new_size} > $json->{new_size_q3} + $json->{new_size_q3} - $json->{new_size_q1} * 1.5 && $json->{new_size} > $json->{new_size_avg} * 6 ) {
$toosmall = "false"; $toosmall = "false";
} }
else { else {
@ -181,7 +181,7 @@ else {
} }
# TOO BIG ? # TOO BIG ?
my $toobig = "true"; my $toobig = "true";
if ( $json->{new_size} < $json->{new_size_q1} - $json->{new_size_q3} - $json->{new_size_q1}) * 1.5 && $json->{new_size} < $json->{new_size_avg} / 3 ) { if ( $json->{new_size} < $json->{new_size_q1} - $json->{new_size_q3} - $json->{new_size_q1} * 1.5 && $json->{new_size} < $json->{new_size_avg} / 3 ) {
$toobig = "false"; $toobig = "false";
} }
else { else {

Loading…
Cancel
Save