Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
lift_* methods in algebras/clifford_algebra.py should remember the gr…
Browse files Browse the repository at this point in the history
…aded-filtered choice
  • Loading branch information
darijgr committed Nov 24, 2014
1 parent 25c0fbc commit 2a62c3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/algebras/clifford_algebra.py
Original file line number Diff line number Diff line change
Expand Up @@ -1139,7 +1139,7 @@ def lift_module_morphism(self, m, names=None):
if Q == self._quadratic_form and names is None:
Cl = self
else:
Cl = CliffordAlgebra(Q, names)
Cl = CliffordAlgebra(Q, names, graded=self._graded)

n = self._quadratic_form.dim()
f = lambda x: self.prod(self._from_dict( {(j,): m[j,i] for j in range(n)},
Expand Down Expand Up @@ -1207,7 +1207,7 @@ def lift_isometry(self, m, names=None):
else:
if names is None:
names = 'e'
Cl = CliffordAlgebra(Q, names)
Cl = CliffordAlgebra(Q, names, graded=self._graded)

n = Q.dim()
f = lambda x: Cl.prod(Cl._from_dict( {(j,): m[j,i] for j in range(n)},
Expand Down

0 comments on commit 2a62c3b

Please sign in to comment.