Skip to content

Commit 70e0303

Browse files
committed
fix doctest
1 parent 39fe637 commit 70e0303

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/algebras/clifford_algebra.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ def _coerce_map_from_(self, V):
572572
try:
573573
return (V.variable_names() == self.variable_names() and
574574
V._quadratic_form.change_ring(self.base_ring()) == Q)
575-
except AttributeError:
575+
except (TypeError, AttributeError):
576576
return False
577577

578578
if self.free_module().has_coerce_map_from(V):

0 commit comments

Comments
 (0)