diff --git a/nifty5/domains/power_space.py b/nifty5/domains/power_space.py index e8d74eb623415c093008f413572188cecdb8dc40..d200ce1b9f2c76251c4decc7bbcc500d2a8be2cf 100644 --- a/nifty5/domains/power_space.py +++ b/nifty5/domains/power_space.py @@ -165,7 +165,7 @@ class PowerSpace(StructuredDomain): if binbounds is not None: binbounds = tuple(binbounds) - if min(self._distances) < 0: + if min(binbounds) < 0: raise ValueError('Negative binbounds encountered') key = (harmonic_partner, binbounds)