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

Update so3.py #13

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Update so3.py #13

wants to merge 2 commits into from

Conversation

zmk5
Copy link

@zmk5 zmk5 commented Jul 26, 2021

When using the liegroups lib I run into the following SyntaxWarning when using the so3.py file

liegroups/numpy/so3.py:83: SyntaxWarning: "is" with a literal. Did you mean "=="?
  elif ordering is 'wxyz':

I've changed the literal with two equal signs for this file to prevent the warning. I will look through some of the other files to see if I can find any more needing to be changed.

zmk5 added 2 commits July 25, 2021 22:43
When using the `liegroups` lib I run into the following `SyntaxWarning` when using the `so3.py` file

```bash
liegroups/numpy/so3.py:83: SyntaxWarning: "is" with a literal. Did you mean "=="?
  elif ordering is 'wxyz':
```
I've changed the literal with two equal signs for this file to prevent the warning.
changed literal comparison to equality comparison to prevent `SyntaxWarning` on runtime.
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.

1 participant