Skip to content

Commit

Permalink
convert input to mask update - PDLPorters/pdl#511
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Dec 20, 2024
1 parent cc908f9 commit f4869f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/PDL/Graphics/PGPLOT/Window.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5166,7 +5166,7 @@ EOD
}
my($mask) = (isfinite $vals);
$mask &= ($vals != $missing) if(defined $missing);
$mask->slice("1:-1") &= (($pp->slice("0:-2") != 0) | ($pp->slice("1:-1") != 0));
$mask->slice("1:-1") &= long(($pp->slice("0:-2") != 0) | ($pp->slice("1:-1") != 0));
my($c,$d) = minmax(where($vals,$mask));
$min .= $c;
$max .= $d;
Expand Down

0 comments on commit f4869f0

Please # to comment.