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
Here isempty(IB) evaluates to true while isempty(SV) evaluates to false. This caused some of the bugs I'm trying to fix in #93 (an update is coming soon).
Therefore, I advise that SVector should only be used when ForwardDiff is directly involved, i.e. deep inside the contractors.
It may be possible to support both the current behavior and function returning IntervalBox (converting to the latter internally) using fancy multiple dispatch, otherwise this would be a breaking change.
The text was updated successfully, but these errors were encountered:
Currently, the functions passed to
roots
must returnSVector
which has several drawbacks:IntervalBox
andSVector
work in a quite similar manner, but are not equivalent, which may cause unexpected bugs. For example consider the followingHere
isempty(IB)
evaluates totrue
whileisempty(SV)
evaluates tofalse
. This caused some of the bugs I'm trying to fix in #93 (an update is coming soon).Therefore, I advise that
SVector
should only be used whenForwardDiff
is directly involved, i.e. deep inside the contractors.It may be possible to support both the current behavior and function returning
IntervalBox
(converting to the latter internally) using fancy multiple dispatch, otherwise this would be a breaking change.The text was updated successfully, but these errors were encountered: