Commit 9094f7e7 authored by Mark Hymers's avatar Mark Hymers

Fix missing argument in mpi.bcast

Signed-off-by: Mark Hymers's avatarMark Hymers <mark.hymers@ynic.york.ac.uk>
parent f9c8e1db
......@@ -81,7 +81,7 @@ class MPI4PyImplementor(object):
# Get type
t = self.mpi.bcast(None, root=root)
if t == 'ANAM':
clsname = self.mpi.bcast(root=root)
clsname = self.mpi.bcast(None, root=root)
cls = find_class(clsname)
if cls is None:
raise RuntimeError("Cannot find class %s during "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment