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

Fix angle bug #16

Closed
wants to merge 54 commits into from
Closed

Fix angle bug #16

wants to merge 54 commits into from

Conversation

EmilyBourne
Copy link
Member

The difference between 2 angles needs to take into account the behaviour of values close to theta=0. This was not done correctly leading to infinite loops on implicit tests.

Eg:

q1 = 15 * pi / 16
q2 = pi/16
diff = 14 pi / 16 # should equal -pi/8

dominikbell and others added 30 commits July 18, 2022 10:21
Format full_simulation and smaller corrections
dominikbell and others added 24 commits July 26, 2022 17:45
replaced %= operations by = and %
fixed some format problems in order to pass codacy test
removed unused variable in favour of more ugly code for codacy
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.

2 participants