Skip to content
Snippets Groups Projects
Unverified Commit 6c2571f6 authored by Andreas Klöckner's avatar Andreas Klöckner Committed by GitHub
Browse files

Placate flake8

parent 2cebdaf5
No related branches found
No related tags found
No related merge requests found
......@@ -532,8 +532,9 @@ class ExecutionMapper(mappers.Evaluator,
matrices_ary_dev = self.bound_op.operator_data_cache[cache_key]
except KeyError:
matrices = repr_op.matrices(out_grp, in_grp)
matrices_ary = np.empty((
noperators, out_grp.nunit_dofs, in_grp.nunit_dofs), dtype=field.entry_dtype)
matrices_ary = np.empty(
(noperators, out_grp.nunit_dofs, in_grp.nunit_dofs),
dtype=field.entry_dtype)
for i, op in enumerate(insn.operators):
matrices_ary[i] = matrices[op.rst_axis]
matrices_ary_dev = self.array_context.from_numpy(matrices_ary)
......
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