Skip to content

Commit 4881b0f

Browse files
committed
raise NotImplementedError instead of NotImplemented
1 parent 439065e commit 4881b0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/quadratic_forms/bqf_class_group.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ def __init__(self, F, parent, *, check=True, reduce=True):
376376
if not F.is_primitive():
377377
raise ValueError('given quadratic form is not primitive')
378378
if not F.is_positive_definite():
379-
raise NotImplemented('only positive definite forms are currently supported')
379+
raise NotImplementedError('only positive definite forms are currently supported')
380380
if reduce:
381381
F = F.reduced_form()
382382
self._form = F

0 commit comments

Comments
 (0)