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
I don't think this is a matter of adding sig_on/sig_off. Letting a program segfault and then catching the segfault is not a proper way of handling errors.
You should just check invalid input before calling COIN.
That being said, it might still be a good idea to add the sig_on/sig_off but not as a substitute for input checking.
I don't think this is a matter of adding sig_on/sig_off. Letting a program segfault and then catching the segfault is not a proper way of handling errors.
You should just check invalid input before calling COIN.
IMHO it's rather the backend's task (and that's more pythonic, if you ask me). They should check for such things, and perhaps
they will fix it at some point.
That being said, it might still be a good idea to add the sig_on/sig_off but not as a substitute for input checking.
The COIN backend needs
sig_on
,sig_off
throughout so that bounds errors do not crash Sage.Another one, from #20326:
CC: @dimpase @videlec @jdemeyer
Component: numerical
Issue created by migration from https://trac.sagemath.org/ticket/20360
The text was updated successfully, but these errors were encountered: