Skip to content

Commit

Permalink
zap unused getndims
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Jan 27, 2024
1 parent ea08a90 commit a64db16
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Basic/Slices/slices.pd
Original file line number Diff line number Diff line change
Expand Up @@ -2445,7 +2445,6 @@ sub PDL::slice {
my $nlm = $idx->nelem;
if($nlm > 1) {
#### More than one element - we have to dice (darn it).
my $n = $source->getndims;
$source = $source->mv($i,0)->index1d($idx)->mv(0,$i);
$others[$i] = '';
}
Expand Down

0 comments on commit a64db16

Please sign in to comment.