Skip to content

Commit 8722462

Browse files
author
Matthias Koeppe
committed
src/sage/categories/pushout.py: Fix up number field test
1 parent df0507d commit 8722462

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/categories/pushout.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3463,7 +3463,7 @@ def merge(self, other):
34633463
try:
34643464
P = pushout(self.embeddings[0].parent(), other.embeddings[0].parent())
34653465
from sage.rings.number_field.number_field_base import NumberField
3466-
if isinstance(p, NumberField):
3466+
if isinstance(P, NumberField):
34673467
return P.construction()[0]
34683468
except CoercionException:
34693469
return None

0 commit comments

Comments
 (0)