You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation for crfsuite_create_instance currently states that 0 is returned upon success (like the rest of the API), but the implementation returns 1 upon success due to the use of == 0 in the implementation to perform a conditional execution via short-circuit evaluation of the first half of the expression.
The documentation for
crfsuite_create_instance
currently states that0
is returned upon success (like the rest of the API), but the implementation returns1
upon success due to the use of== 0
in the implementation to perform a conditional execution via short-circuit evaluation of the first half of the expression.From current latest revision (a6f144b) of
lib/crf/src/crfsuite.c
:Suggested correction:
The text was updated successfully, but these errors were encountered: