Bugfix: wrong arguments supplied to Flow constructor (rarely used case)

This commit is contained in:
Alessandro Ranellucci 2014-08-08 02:56:25 +02:00
parent 66b57a84de
commit 5435d88924

View file

@ -119,7 +119,7 @@ sub new {
my ($class, %args) = @_;
my $self = $class->_new(
@args{qw(width spacing nozzle_diameter)},
@args{qw(width height nozzle_diameter)},
);
$self->set_bridge($args{bridge} // 0);
return $self;