[SciPy-dev] cut-and-paste error in scipy\io\matlab\mio5.py
josef.pktd at gmail.com
josef.pktd at gmail.com
Tue Jan 13 13:31:04 EST 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