Skip to content

Commit f902356

Browse files
committed
Merge pull request #1 from jackha/patch-1
Fixed reshape bug in recv_array
2 parents 4c9fc3d + 29ad4a2 commit f902356

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mmi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def recv_array(socket, flags=0, copy=False, track=False):
3232
msg = socket.recv(flags=flags, copy=copy, track=track)
3333
buf = buffer(msg)
3434
A = np.frombuffer(buf, dtype=md['dtype'])
35-
A.reshape(md['shape'])
35+
A = A.reshape(md['shape'])
3636
else:
3737
# No array expected
3838
A = None

0 commit comments

Comments
 (0)