-
Notifications
You must be signed in to change notification settings - Fork 68
[READY] Merge brombo/galgebra#15 #2
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
Conversation
Now there're 7 fails, 13 passes, because my PR has fixed all 10 tests and merging literally has kept 10 tests with 7 fails and 3 passes from the master branch, will check and clean up later. |
@hugohadfield @arsenovic I don't have the permission to set up a CI for pygae/galgebra, can you help me with the permission? Thanks. |
@utensil sorry I was asleep! Didn't realise I had set your permission settings wrong in the invite, you are now an owner in pygae, so hopefully you should be able to do everything you want without permission problems! |
b7a0500
to
01c9d7b
Compare
i gave the galgebra group to admin rights for the galgebra repo, |
@arsenovic @hugohadfield This PR has completed all 4 tasks and passes 12 tests under both py 2 & 3, please review, comments welcome. 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good :) Nice job Utensil!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i just glossed over these changes but they look good. glad to see the project start moving again.
galgebra/test_test.py
Outdated
global n,nbar | ||
Fx = HALF*((x*x)*n+2*x-nbar) | ||
global n, nbar | ||
Fx = ((x * x) * n + 2 * x - nbar) / 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some doubts about the division here, will look into it later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was originally for a rational division. Better keep the HALF for now.
def sort_terms(self): | ||
self.terms.sort(key=operator.itemgetter(1), cmp=Pdop.compare) | ||
# self.terms.sort(key=operator.itemgetter(1)) | ||
self.terms.sort(key=cmp_to_key(Pdop.compare)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was using both key and cmp, and the cmp obviously contains more logics which I chose to keep instead of key.
setup.py
Outdated
sys.argv.remove('--noconflict') | ||
except Exception as e: | ||
pass | ||
ga_namespace = 'galgebra' if noconflict else '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are probably obsolete.
Thanks, then I'll merge after some small revision 😃 Here's a little change log besides changes in brombo/galgebra#15 :
|
Uh oh!
There was an error while loading. Please reload this page.