Skip to content

Commit

Permalink
zap call to make_physdims since done by getdim
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Jan 20, 2024
1 parent 7f38b05 commit 5f0b0b4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Graphics/Graphics2D.pm
Original file line number Diff line number Diff line change
Expand Up @@ -977,8 +977,6 @@ sub flatten {
my $firsty = 1;
my $spi;
for (@dims[reverse(2..$#dims)]) {
$foop->make_physdims();
# print "FOOP: \n"; $foop->dump;
if ($ind % 2 == 0) {
$spi = $foop->getdim(1)/$_;
$foop = $foop->splitdim(1,$spi)->slice(":,0:-2")->mv(2,3);
Expand Down
2 changes: 0 additions & 2 deletions Graphics/TriD/TriD/Image.pm
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,6 @@ sub flatten {
my $firsty = 1;
my $spi;
for(@dims[reverse(2..$#dims)]) {
$foop->make_physdims();
# print "FOOP: \n"; $foop->dump;
if($ind % 2 == 0) {
$spi = $foop->getdim(1)/$_;
$foop = $foop->splitdim(1,$spi)->slice(":,0:-2")->
Expand Down

0 comments on commit 5f0b0b4

Please sign in to comment.