Skip to content

Commit

Permalink
Update error number
Browse files Browse the repository at this point in the history
This was changed by merge
  • Loading branch information
polm committed Jul 11, 2022
1 parent 25f0200 commit 7264ae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spacy/pipeline/coref.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def get_loss(
span = example.predicted.char_span(start_char, end_char)
if span is None:
# TODO log more details
raise IndexError(Errors.E1043)
raise IndexError(Errors.E1044)
cc.append((span.start, span.end))
clusters.append(cc)

Expand Down

0 comments on commit 7264ae1

Please sign in to comment.