[SciPy-dev] cut-and-paste error in scipy\io\matlab\mio5.py
josef.pktd@gmai...
josef.pktd@gmai...
Tue Jan 13 12:31:04 CST 2009
File "C:\Programs\Python25\lib\site-packages\scipy\io\matlab\mio5.py",
line 502, in get_raw_array
result = super(Mat5ObjectMatrixGetter, self).get_raw_array()
TypeError: super(type, obj): obj must be an instance or subtype of type
class Mat5FunctionMatrixGetter(Mat5CellMatrixGetter):
def get_raw_array(self):
result = super(Mat5ObjectMatrixGetter, self).get_raw_array()
return MatlabFunction(result)
super(Mat5ObjectMatrixGetter
should be:
super(Mat5FunctionMatrixGetter
I guess this is covered by a test
Josef
More information about the Scipy-dev
mailing list