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

More typing in geometric_algebra #160

Merged
merged 5 commits into from
Nov 13, 2024

Conversation

alexfikl
Copy link
Collaborator

@alexfikl alexfikl commented Nov 13, 2024

Types some more things mainly in geometric_algebra/__init__.py.

At least typing componentwise seems to cause more errors in pytential, so yey!

EDIT: As far as I can tell, the errors in pytential are legitimate, i.e. it complains that some __new__ implementations return np.ndarrays instead of the type itself e.g.
https://github.com/inducer/pytential/blob/bc941d32231a2edd1ed8c402f3cf23e1eb59af58/pytential/symbolic/primitives.py#L480-L486

@alexfikl alexfikl force-pushed the geometric-algebra-typing branch from a5dd96f to df069e3 Compare November 13, 2024 19:06
@inducer inducer force-pushed the geometric-algebra-typing branch from df069e3 to 13639e4 Compare November 13, 2024 22:31
@inducer inducer enabled auto-merge (rebase) November 13, 2024 22:31
@inducer inducer changed the title More typing in geometry_algebra More typing in geometric_algebra Nov 13, 2024
@inducer inducer merged commit b7cfd30 into inducer:main Nov 13, 2024
11 checks passed
@alexfikl alexfikl deleted the geometric-algebra-typing branch November 14, 2024 05:21
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