Skip to content
Snippets Groups Projects
Commit 2cfb1d6a authored by EXT Jean-Matthieu Etancelin's avatar EXT Jean-Matthieu Etancelin
Browse files

Fix python custom operator

parent 31605122
No related branches found
No related tags found
1 merge request!16MPI operators
......@@ -66,9 +66,9 @@ class PythonCustomOperator(HostOperator):
for _v in v if isinstance(v, VectorField) else (v, ):
for vd in self.output_discrete_fields[_v]:
doutvar.append(vd)
gh = self.output_discrete_fields[v].build_ghost_exchanger()
if gh is not None:
self.ghost_exchanger.append(gh)
gh = self.output_discrete_fields[_v].build_ghost_exchanger()
if gh is not None:
self.ghost_exchanger.append(gh)
elif isinstance(v, Parameter):
doutparam.append(v)
self.dinvar, self.doutvar = tuple(dinvar), tuple(doutvar)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment