From 5fd511784056eb11fadfe57624519fb4dd428b2c Mon Sep 17 00:00:00 2001 From: Steven Murray Date: Mon, 23 Dec 2024 23:15:48 +0100 Subject: [PATCH] fix: typo in method update --- src/py21cmfast/wrapper/outputs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/py21cmfast/wrapper/outputs.py b/src/py21cmfast/wrapper/outputs.py index 93bdeb26..ee0c4914 100644 --- a/src/py21cmfast/wrapper/outputs.py +++ b/src/py21cmfast/wrapper/outputs.py @@ -131,7 +131,7 @@ def _inputs_compatible_with(self, other: OutputStruct | InputParameters) -> bool if isinstance(other, InputParameters): # Compare at the level required by this object only return getattr(self.inputs, f"_{self._compat_hash.name}_hash") == getattr( - other, f"{self._compat_hash.name}_hash" + other, f"_{self._compat_hash.name}_hash" ) min_req = min(self._compat_hash.value, other._compat_hash.value)