Skip to content

Unify argument order in phasepoint and transition #435

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
May 1, 2025
Merged

Conversation

ErikQQY
Copy link
Collaborator

@ErikQQY ErikQQY commented Apr 30, 2025

Fix: #248

Now we should only use transition(rng, h, τ, z) or transition(rng, h, κ, z).

* Update cuda.jl

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@yebai
Copy link
Member

yebai commented Apr 30, 2025

It is more prudent to mark this as a breaking release, given that some other packages likely depend on AHMC.transition, even though it is not exported.

@yebai yebai requested a review from mhauru April 30, 2025 19:48
@ErikQQY
Copy link
Collaborator Author

ErikQQY commented May 1, 2025

It is more prudent to mark this as a breaking release, given that some other packages likely depend on AHMC.transition, even though it is not exported.

Yeah, I bumped the version to 0.8.0, so we can release a breaking change. As far as I know, Turing.jl is using AHMC.transition, I can fix its usage after the release.

mhauru
mhauru previously approved these changes May 1, 2025
Copy link
Member

@mhauru mhauru left a comment

Choose a reason for hiding this comment

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

Looks all good to me. Thanks for this, I think I've tripped over that argument ordering once or twice myself.

yebai
yebai previously approved these changes May 1, 2025
@yebai
Copy link
Member

yebai commented May 1, 2025

Excellent work - @ErikQQY, can you add an item to HISTORY.md before merging?

@ErikQQY ErikQQY dismissed stale reviews from yebai and mhauru via b90ac40 May 1, 2025 08:28
@yebai yebai merged commit 2ada47c into main May 1, 2025
15 of 18 checks passed
@yebai yebai deleted the qqy/unify_order branch May 1, 2025 14:23
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.

Unify argument orders
3 participants