Skip to content

Commit

Permalink
Fix wrong function call
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminRodenberg authored Dec 23, 2020
1 parent 1c6985f commit 3ee642c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fenicsprecice/expression_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def eval(self, value, x):
:param x: coordinate where expression has to be evaluated
:param value: buffer where result has to be returned to
"""
assert(MPI.size(MPI.comm_world) > 1)
assert(MPI.COMM_WORLD.Get_size() > 1)
for i in range(self._vals.ndim):
value[i] = 0

Expand Down

0 comments on commit 3ee642c

Please sign in to comment.