Skip to content

Commit f4869f0

Browse files
committed
convert input to mask update - PDLPorters/pdl#511
1 parent cc908f9 commit f4869f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/PDL/Graphics/PGPLOT/Window.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5166,7 +5166,7 @@ EOD
51665166
}
51675167
my($mask) = (isfinite $vals);
51685168
$mask &= ($vals != $missing) if(defined $missing);
5169-
$mask->slice("1:-1") &= (($pp->slice("0:-2") != 0) | ($pp->slice("1:-1") != 0));
5169+
$mask->slice("1:-1") &= long(($pp->slice("0:-2") != 0) | ($pp->slice("1:-1") != 0));
51705170
my($c,$d) = minmax(where($vals,$mask));
51715171
$min .= $c;
51725172
$max .= $d;

0 commit comments

Comments
 (0)