Skip to content
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

BUG degrees mixed with radians in random draws #160

Merged
merged 4 commits into from May 14, 2024
Merged

Conversation

beckermr
Copy link
Collaborator

@beckermr beckermr commented May 3, 2024

It appears that degrees is being mixed with radians in the random draws function?

I think this has been a silent bug since numerically degrees are always larger.

However, I wonder if this increases efficiency?

Also, now that this unit has changed, there appears to be a sin(theta) factor missing for the draws in phi.

And there is no reason to multiply and divide by 1.0.

@beckermr beckermr requested a review from erykoff May 13, 2024 22:20
@beckermr beckermr merged commit 634678a into main May 14, 2024
6 checks passed
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.

None yet

2 participants