From dc3dfcd6490c9cb26166e872c9e405d7e34769ac Mon Sep 17 00:00:00 2001 From: ksagiyam Date: Tue, 10 Dec 2024 16:25:45 +0000 Subject: [PATCH] k --- firedrake/functionspaceimpl.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/firedrake/functionspaceimpl.py b/firedrake/functionspaceimpl.py index 4a63a1d68b..03afd480be 100644 --- a/firedrake/functionspaceimpl.py +++ b/firedrake/functionspaceimpl.py @@ -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