Skip to content

Correct the xor operator from '-' to '^'#11

Open
astrojhgu wants to merge 2 commits intocosmo-ethz:masterfrom
astrojhgu:master
Open

Correct the xor operator from '-' to '^'#11
astrojhgu wants to merge 2 commits intocosmo-ethz:masterfrom
astrojhgu:master

Conversation

@astrojhgu
Copy link
Copy Markdown

Otherwise it may raise an error in python 2.7

@jakeret
Copy link
Copy Markdown
Collaborator

jakeret commented Mar 5, 2019

Thanks for your contribution!
Do you know what is causing the build to break?

@astrojhgu
Copy link
Copy Markdown
Author

astrojhgu commented Mar 5, 2019

I don't know either. It seems the error came from the hope package, when it is trying to compile a generated c source file, which I'm not familiar.

This only thing I touch is changing '-' to '^'. So I guess it should not be caused by this modification.

(all right, I made a further modification to test_mask_objects.py, in which 01 will prevent it from accepted by python 3, so I change it to 1)

I tried to dig into it deeper, but I failed to extract the generated .c file. If it is possible, I can find out why the compilation failed.

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