Skip to content

Commit c0d1f24

Browse files
committed
Keep spinor for compatibility with old code
1 parent 724dcd5 commit c0d1f24

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

galgebra/mv.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ def _make_odd(ga: 'Ga', __name: str, **kwargs) -> Expr:
270270

271271
# aliases
272272
_make_grade2 = _make_bivector
273+
_make_spinor_ = _make_even # alias for compatibility with old code
273274
### GSSG: removed alias `_make_even = _make_spinor_`
274275

275276
def __init__(self, *args, ga, recp=None, coords=None, **kwargs):
@@ -330,7 +331,7 @@ def __init__(self, *args, ga, recp=None, coords=None, **kwargs):
330331
* ``"bivector"`` / ``"grade2"``
331332
* ``"pseudo"``
332333
* ``"mv"``
333-
* ``"even"``
334+
* ``"even"`` / ``"spinor"``
334335
* ``"odd"``
335336
336337
f : bool, tuple

0 commit comments

Comments
 (0)