Skip to content

Use std::int32_t for around geometry/utils.h:is_leaf() - #4467

Open
PaulXiCao wants to merge 3 commits into
FEniCS:mainfrom
PaulXiCao:iss4451_is_leaf
Open

Use std::int32_t for around geometry/utils.h:is_leaf()#4467
PaulXiCao wants to merge 3 commits into
FEniCS:mainfrom
PaulXiCao:iss4451_is_leaf

Conversation

@PaulXiCao

Copy link
Copy Markdown

Closes #4451 .

Uses std::int32_t instead of int for impl::is_leaf() inside geometry/utils.h. This is founded in the return type of geometry::BoundingBoxTree::bbox().

Also fixes some more stray ints inside that file.

@PaulXiCao PaulXiCao changed the title Iss4451 is leaf Use std::int32_t for around geometry/utils.h:is_leaf() Sep 1, 2026
@schnellerhase schnellerhase added the housekeeping Tidying and style improvements label Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

housekeeping Tidying and style improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Wrong integer type in dolfinx::geometry::impl::is_leaf

2 participants