diff --git a/ufpy/algebra/sets.py b/ufpy/algebra/sets.py index 53496ef..4722e23 100644 --- a/ufpy/algebra/sets.py +++ b/ufpy/algebra/sets.py @@ -47,7 +47,7 @@ def __update__(self): # Convert to other types def __repr__(self) -> str: - return f'u{self.set if self.set else '{}'}' + return f'u{self.set or '{}'}' def __str__(self) -> str: return repr(self.set) if self.set else '{}'