Skip to content

Conversation

@user202729
Copy link
Contributor

apparently the old interface was silently broken because of noexcept automatically added, making the signature different, see #36507 .

I fix the doctest and make it actually tested to avoid breakage in the future.

Also I add const-correctness (if you lookup the gsl documentation, you'll see that the y parameter is const).

📝 Checklist

  • The title is concise and informative.
  • The description explains in detail what this PR is about.
  • I have linked a relevant issue or discussion.
  • I have created tests covering the changes.
  • I have updated the documentation and checked the documentation preview.

⌛ Dependencies

@user202729 user202729 marked this pull request as ready for review December 19, 2025 14:01
@github-actions
Copy link

github-actions bot commented Dec 19, 2025

Documentation preview for this PR (built with commit bf6982f; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

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.

1 participant