You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Adjust range_adjacent to support different canonicalization rules.
The original coding would not work for discrete ranges in which thecanonicalization rule is to produce symmetric boundaries (either [] or ()style), as noted by Jeff Davis. Florian Pflug pointed out that we couldfix that by invoking the canonicalization function to see if the range"between" the two given ranges normalizes to empty. This implementationof Florian's idea is a tad slower than the original code, but only in thecase where there actually is a canonicalization function --- if not, it'sessentially the same logic as before.