Skip to content

Update Math::sincos and sincospi#4575

Merged
ax3l merged 1 commit intoAMReX-Codes:developmentfrom
WeiqunZhang:sincos
Jul 19, 2025
Merged

Update Math::sincos and sincospi#4575
ax3l merged 1 commit intoAMReX-Codes:developmentfrom
WeiqunZhang:sincos

Conversation

@WeiqunZhang
Copy link
Copy Markdown
Member

  • Revert the change made to scalar types. They are now non-templates.

  • Use std::enable_if to restrict function templates to simd types.

  • Fix sincospi for simd types.

  - Revert the change made to scalar types. They are now non-templates.

  - Use std::enable_if to restrict function templates to simd types.

  - Fix sincospi for simd types.
@WeiqunZhang WeiqunZhang requested a review from ax3l July 18, 2025 23:07
@ax3l ax3l self-assigned this Jul 18, 2025
@ax3l ax3l added the bug label Jul 18, 2025
@ax3l
Copy link
Copy Markdown
Member

ax3l commented Jul 18, 2025

Thanks! Testing w/ ImpactX now.

Copy link
Copy Markdown
Member

@ax3l ax3l left a comment

Choose a reason for hiding this comment

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

Works perfectly, thanks a lot!

@ax3l ax3l enabled auto-merge (squash) July 18, 2025 23:26
@ax3l ax3l merged commit 7c99975 into AMReX-Codes:development Jul 19, 2025
75 checks passed
@WeiqunZhang WeiqunZhang deleted the sincos branch July 19, 2025 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants