Skip to content

Make copying ScalarNonlinearFunction type-stable - #3095

Merged
odow merged 1 commit into
masterfrom
bl/nonlinear-copy
Sep 30, 2026
Merged

odow merged 1 commit into
masterfrom
bl/nonlinear-copy

Conversation

@blegat

@blegat blegat commented Sep 30, 2026 •

Copy link
Copy Markdown
Member

Also add a new test to check

  1. Explicit preservation of Float32, BigFloat, Rational, and BigInt through copy.
  2. Explicit non-aliasing of the term vectors

This is needed to make #3094 work with --trim=unsafe-warn

@odow
odow merged commit 8603780 into master Sep 30, 2026
30 checks passed
@odow
odow deleted the bl/nonlinear-copy branch September 30, 2026 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants