Skip to content
Snippets Groups Projects
Commit f9bc3d43 authored by René Heß's avatar René Heß
Browse files

Use ufl_shape instead of shape

parent 5a2ff27c
No related branches found
No related tags found
No related merge requests found
......@@ -177,7 +177,7 @@ def pymbolic_matrix_inverse(o, visitor):
expr = o.ufl_operands[0]
name = name_assembled_tensor(expr, visitor)
if expr.shape[0] <= 3:
if expr.ufl_shape[0] <= 3:
name = name_matrix_inverse(name, expr.ufl_shape, visitor)
else:
instruction(code="{}.invert();".format(name),
......
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