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

change M_PI to not use arccos #2863

Closed
wkerzendorf opened this issue Oct 21, 2024 · 1 comment
Closed

change M_PI to not use arccos #2863

wkerzendorf opened this issue Oct 21, 2024 · 1 comment

Comments

@wkerzendorf
Copy link
Member

Throughout the code M_PI is sometimes defined as np.arccos(1) but we should just use the numpy pi implementation

@Akash265
Copy link
Contributor

Akash265 commented Nov 1, 2024

Fixed the issue by replacing M_PI=np.arccos(-1) with M_PI=np.pi in the codebase, as suggested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants