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 silly mistake in Flat constructor #100

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

Conversation

rotu
Copy link
Contributor

@rotu rotu commented Oct 6, 2019

Previously, checking for membership in map object would exhaust the generator and result in a trivial Flat.

rotu added 2 commits October 6, 2019 00:50
Previously, checking for membership in map object would exhaust the generator and result in a trivial Flat.
Don't return 0 if a scalar multiple of einf is in the constructor
clifford/cga.py Outdated Show resolved Hide resolved
clifford/cga.py Outdated Show resolved Hide resolved
@eric-wieser
Copy link
Member

eric-wieser commented Oct 28, 2019

Did some more reading, your changes look obviously correct to me.

Can you add a test in test_cga.py both with and without einf? , and fix the conflicts? (should be just whitespace changes)

There's also an xfail referencing gh-100 (this issue) in that file, which hopefully no longer fails.

@eric-wieser eric-wieser added the component: cga Relating to `clifford.cga` label Oct 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug component: cga Relating to `clifford.cga`
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants