Skip to content

Commit

Permalink
Added reading of matlab(tm) version 5 file support.
Browse files Browse the repository at this point in the history
  • Loading branch information
teoliphant committed Oct 17, 2003
1 parent 16d3eca commit a016c39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scipy_base/shape_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ def squeeze(a):
"Returns a with any ones from the shape of a removed"
a = asarray(a)
b = asarray(a.shape)
return reshape (a, tuple (compress (not_equal (b, 1), b)))
val = reshape (a, tuple (compress (not_equal (b, 1), b)))
return val

def atleast_1d(*arys):
""" Force a sequence of arrays to each be at least 1D.
Expand Down

0 comments on commit a016c39

Please sign in to comment.