Skip to content

Commit 454e082

Browse files
committed
Allow new labels
1 parent 64f4968 commit 454e082

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lmfdb/number_fields/web_number_field.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -980,6 +980,8 @@ def get_local_algebras(self):
980980
local_algebra_dict[str(p)].append([deg,e,f,c])
981981
else:
982982
LF = db.lf_fields.lookup(lab)
983+
if not LF:
984+
LF = db.lf_fields.lucky({'new_label': lab})
983985
f = latex(R(LF['coeffs']))
984986
p = LF['p']
985987
gglabel = LF.get('galois_label')

0 commit comments

Comments
 (0)