Skip to content

fix: new dace.math.atan2 requires two arguments#2435

Open
romanc wants to merge 2 commits into
spcl:mainfrom
romanc:romanc/atan2-fix
Open

fix: new dace.math.atan2 requires two arguments#2435
romanc wants to merge 2 commits into
spcl:mainfrom
romanc:romanc/atan2-fix

Conversation

@romanc

@romanc romanc commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Description

Quick follow-up from #2418. std::atan2 exposed as dace.math.atan2 computes the arc tangent of y / x and thus requires two arguments.

`std::atan2` exposed as `dace.math.atan2` computes the arc tangent of `y
/ x` and thus requires two arguments.
@romanc romanc changed the title fix: new atan2 requires two arguments fix: new dace.math.atan2 requires two arguments Jul 13, 2026
@ThrudPrimrose ThrudPrimrose self-requested a review July 13, 2026 08:17

@ThrudPrimrose ThrudPrimrose left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for the fix!
(We need to consider having a codegen + numerical correctness tests for all intrinsics we provide in dace runtime later)

@acalotoiu acalotoiu self-requested a review July 14, 2026 10:41

@acalotoiu acalotoiu 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.

LGTM

@acalotoiu acalotoiu enabled auto-merge July 14, 2026 10:41
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.

3 participants