Minor fix to previous commit

This commit is contained in:
Alessandro Ranellucci 2015-05-31 22:09:58 +02:00
parent 7f70da97b4
commit 1875825f45

View file

@ -75,7 +75,7 @@ sub BUILD {
} }
} }
} }
my $min_mm3_per_mm = min(@mm3_per_mm); my $min_mm3_per_mm = min(@mm3_per_mm) // 0;
if ($min_mm3_per_mm > 0) { if ($min_mm3_per_mm > 0) {
# In order to honor max_print_speed we need to find a target volumetric # In order to honor max_print_speed we need to find a target volumetric
# speed that we can use throughout the print. So we define this target # speed that we can use throughout the print. So we define this target