Skip to content

fix(math): fix missing include in fast math; update piecewise-linear to use .empty for clarity#669

Merged
finger563 merged 1 commit into
mainfrom
fix/fast-math-include
Jul 15, 2026
Merged

fix(math): fix missing include in fast math; update piecewise-linear to use .empty for clarity#669
finger563 merged 1 commit into
mainfrom
fix/fast-math-include

Conversation

@finger563

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings July 15, 2026 15:51
@github-actions

Copy link
Copy Markdown

✅Static analysis result - no issues found! ✅

@finger563 finger563 merged commit 396d26a into main Jul 15, 2026
126 of 127 checks passed
@finger563 finger563 deleted the fix/fast-math-include branch July 15, 2026 16:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot couldn't run its full agentic review because no GitHub Actions runner was available. Make sure your repository has a runner available to run Copilot's review, or add a copilot-setup-steps.yml file specifying one with the runs-on attribute. See the docs for more details.

Updates fast_math.hpp to correctly include the header required for std::span, and slightly improves readability in piecewise_linear by using .empty().

Changes:

  • Add #include <span> to support std::span usage in the header.
  • Replace points.size() == 0 with points.empty() for clarity.

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.

2 participants