Skip to content

Conversation

@afabri
Copy link
Member

@afabri afabri commented Jan 8, 2026

Summary of Changes

Use a singleton for the recursion anchor.

Release Management

  • Affected package(s): dD Range and Segment Trees
  • License and copyright ownership: unchanged

link_type leftmost(){return left(header);}
link_type root() const {
if(header!=0)
if(header != nullptr)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not just test if (header)

Analogous on other places where also == or != are used.

@sloriot
Copy link
Member

sloriot commented Jan 13, 2026

Example testsuite is fully red. For example here

@sloriot
Copy link
Member

sloriot commented Jan 14, 2026

Successfully tested in CGAL-6.2-Ic-82

@sloriot sloriot merged commit c67f197 into CGAL:main Jan 14, 2026
9 checks passed
@sloriot sloriot deleted the SearchStructures-anchor-GF branch January 14, 2026 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants