Skip to content

Commit

Permalink
Fix shape to be indx data type (previously double default)
Browse files Browse the repository at this point in the history
  • Loading branch information
devel-chm committed Sep 17, 2015
1 parent a441f34 commit 1001556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Basic/Core/Core.pm
Expand Up @@ -828,7 +828,7 @@ sub PDL::shape { # Return dimensions as a pdl
my $pdl = PDL->topdl (shift);
my @dims = ();
for(0..$pdl->getndims()-1) {push @dims,($pdl->getdim($_))}
return pdl(\@dims);
return indx(\@dims);
}

sub PDL::howbig {
Expand Down

0 comments on commit 1001556

Please sign in to comment.