Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
src/sage/sets/real_set.py (RealSet_base.__init__): Check normalized
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Aug 7, 2022
1 parent 2c87c44 commit d6dd265
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sage/sets/real_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -1314,7 +1314,7 @@ def rel_to_interval(op, val):
union_intervals = cls.normalize(intervals)
return super().__classcall__(cls, *union_intervals, normalized=True)

def __init__(self, *intervals, normalized=True):
def __init__(self, *intervals, normalized=False):
r"""
TESTS::
Expand All @@ -1328,6 +1328,7 @@ def __init__(self, *intervals, normalized=True):
(0, 1] ∪ [2, 3)
sage: TestSuite(R).run()
"""
assert normalized
category = TopologicalSpaces()
if len(intervals) <= 1:
category = category.Connected()
Expand Down

0 comments on commit d6dd265

Please sign in to comment.