Skip to content

Conversation

@guitargeek
Copy link
Contributor

The codegen implementation for this class was broken because the function only took one template parameter, which resulted in overload resolution failure when the passed argument types were different.

This is fixed now, and a unit test is added to prevent future regressions.

Also, a workaround around a Clad issue is removed from the tests, and the tolerance parameter of some tests is adjusted, because changing a prior test had an effect on the random number generation of the Landau tests.

FYI, @TomasDado

Copy link
Member

@lmoneta lmoneta left a comment

Choose a reason for hiding this comment

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

LGTM!
Thanks Jonas for the fix!

The codegen implementation for this class was broken because the
function only took one template parameter, which resulted in overload
resolution failure when the passed argument types were different.

This is fixed now, and a unit test is added to prevent future
regressions.

Also, a workaround around a Clad issue is removed from the tests, and
the tolerance parameter of some tests is adjusted, because changing a
prior test had an effect on the random number generation of the Landau
tests.
@guitargeek guitargeek force-pushed the roomultivargaussian_codegen branch from 36f6400 to 9caaa47 Compare November 25, 2025 21:38
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.

2 participants