Skip to content

More typing in geometric_algebra - #160

Merged
inducer merged 5 commits into
inducer:mainfrom
alexfikl:geometric-algebra-typing
Nov 13, 2024
Merged

More typing in geometric_algebra#160
inducer merged 5 commits into
inducer:mainfrom
alexfikl:geometric-algebra-typing

Conversation

@alexfikl

@alexfikl alexfikl commented Nov 13, 2024

Copy link
Copy Markdown
Collaborator

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

Comment thread pymbolic/geometric_algebra/__init__.py
Comment thread pymbolic/geometric_algebra/__init__.py
Comment thread pymbolic/geometric_algebra/__init__.py
@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
@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