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

Mv.grades return None under some situations #516

Closed
mammalwong opened this issue Apr 29, 2024 · 1 comment
Closed

Mv.grades return None under some situations #516

mammalwong opened this issue Apr 29, 2024 · 1 comment
Assignees
Labels
bug component: core Ga, Mv, Metric, etc
Milestone

Comments

@mammalwong
Copy link

To reproduce the bug:

ga = Ga('e', g=[1,1,1], coords=S.symbols(f"0:3", real=True), wedge=False)
x,y,z = ga.mv()
a = ga.mv('A','mv')
print((a.grade(0)*x).grades)
print((a.grade(0)^x).grades)

It prints:

None
None

I found it occurs whenever a is created through ga.mv('A','mv'), and when I multiply a.grade(0) as the left side using * or ^, by any Mv instance as the right side, then the .grades always becomes None

@utensil utensil added the bug label May 9, 2024
@utensil utensil added this to the 0.5.3 milestone May 9, 2024
utensil added a commit that referenced this issue May 10, 2024
@utensil utensil added the component: core Ga, Mv, Metric, etc label May 10, 2024
@utensil utensil self-assigned this May 10, 2024
@utensil
Copy link
Member

utensil commented May 15, 2024

Thank you, @mammalwong , the fix should be in master now as #510 is now merged.

@utensil utensil closed this as completed May 15, 2024
@utensil utensil modified the milestones: 0.5.3, 0.6.0 Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug component: core Ga, Mv, Metric, etc
Projects
None yet
Development

No branches or pull requests

2 participants