From 3af970a67d4c6b27255f3d07ca0c44a5fcc2b06e Mon Sep 17 00:00:00 2001 From: Victor Leite Date: Tue, 4 May 2021 23:18:27 -0300 Subject: [PATCH] dsl: fixup bug --- devito/operator/operator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devito/operator/operator.py b/devito/operator/operator.py index 3132be38a30..3155464a101 100644 --- a/devito/operator/operator.py +++ b/devito/operator/operator.py @@ -478,7 +478,7 @@ def _prepare_arguments(self, **kwargs): p._arg_check(args, self._dspace[p]) for d in self.dimensions: if d.is_Derived: - d._arg_check(args, self._dspace[p]) + d._arg_check(args, self._dspace[d]) # BUG? # Turn arguments into a format suitable for the generated code # E.g., instead of NumPy arrays for Functions, the generated code expects