Skip to content

fix(examples): protect DepthNavOptAStar ray costs from Windows min macros - #9826

Open
Bartok9 wants to merge 1 commit into
microsoft:mainfrom
Bartok9:aerial/2026-07-29-depthnav-stdmin
Open

fix(examples): protect DepthNavOptAStar ray costs from Windows min macros#9826
Bartok9 wants to merge 1 commit into
microsoft:mainfrom
Bartok9:aerial/2026-07-29-depthnav-stdmin

Conversation

@Bartok9

@Bartok9 Bartok9 commented Jul 29, 2026

Copy link
Copy Markdown

Paren-wraps std::min in DepthNav A* ray cost so Windows min macros cannot break example builds including windows.h.

Cost math unchanged without macros. Example-only path.

AI-assisted; human-reviewed.

Claim: bartok
Operator: bartok
Campaign: aerial-drone

…cros

Parenthesize std::min in setRayCost so windows.h min macros cannot break
goal_on_ray / d1 calculations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant