Skip to content

Commit

Permalink
k
Browse files Browse the repository at this point in the history
  • Loading branch information
ksagiyam committed Dec 10, 2024
1 parent 0b4345e commit dc3dfcd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions firedrake/functionspaceimpl.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,6 @@ def sub(self, i):
bound = len(data)
if i < 0 or i >= bound:
raise IndexError(f"Invalid component {i}, not in [0, {bound})")
#bound = len(self._components)
#if i < 0 or i >= bound:
# raise IndexError("Invalid component %d, not in [0, %d)" % (i, bound))
return data[i]

@utils.cached_property
Expand Down

0 comments on commit dc3dfcd

Please sign in to comment.