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
zoj613
changed the title
BUG: Exceptions are not explicitly raised when validating output.
BUG: Exceptions are not explicitly raised in python when validating output.
Jul 20, 2021
htnorm/pyhtnorm/_htnorm.pyx
Lines 98 to 109 in ef1f2e4
Since this cython function has void return type, the raised exception is not propagated properly and thus gets treated as a warning.
To remedy this, the function should return an
int
. A value of zero when everything checks out and probably a -1 otherwise.The text was updated successfully, but these errors were encountered: