Skip to content

Commit

Permalink
Keep spinor for compatibility with old code
Browse files Browse the repository at this point in the history
  • Loading branch information
utensil committed Apr 2, 2024
1 parent 9b19e61 commit 5c7964b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion galgebra/mv.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ def _make_odd(ga: 'Ga', __name: str, **kwargs) -> Expr:

# aliases
_make_grade2 = _make_bivector
_make_spinor = _make_even # alias for compatibility with old code
### GSSG: removed alias `_make_even = _make_spinor_`

def __init__(self, *args, ga, recp=None, coords=None, **kwargs):
Expand Down Expand Up @@ -330,7 +331,7 @@ def __init__(self, *args, ga, recp=None, coords=None, **kwargs):
* ``"bivector"`` / ``"grade2"``
* ``"pseudo"``
* ``"mv"``
* ``"even"``
* ``"even"`` / ``"spinor"``
* ``"odd"``
f : bool, tuple
Expand Down

0 comments on commit 5c7964b

Please sign in to comment.