Skip to content

Commit

Permalink
Function has fs.block_size components not fs.value_size
Browse files Browse the repository at this point in the history
  • Loading branch information
JHopeCollins committed Nov 28, 2024
1 parent b783253 commit 4af8e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firedrake/function.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ def _components(self):
return (self, )
else:
return tuple(type(self)(self.function_space().sub(i), self.topological.sub(i))
for i in range(self.function_space().value_size))
for i in range(self.function_space().block_size))

@PETSc.Log.EventDecorator()
def sub(self, i):
Expand Down

0 comments on commit 4af8e4a

Please sign in to comment.