Skip to content

Commit 153c16f

Browse files
authored
Fix return statement in jfile.py, loadmat function
loadmat miss a return
1 parent 1cd4cf8 commit 153c16f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jdata/jfile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -739,6 +739,7 @@ def loadmat(filename, **kwargs):
739739
else:
740740
# Use F-order for flattening/reshaping
741741
data[key] = np.array(value, order="F")
742+
return data
742743

743744

744745
def loadjd(filename: str, suffix=None, **kwargs):

0 commit comments

Comments
 (0)