There is no assertion nor warning about evaluating outside the domain; the result in this case is actually wrong. The problem is that this happens silently.
We should use @assert, or at least @warn when the point (or interval) used in the evaluation is not completely contained within the domain of the Taylor model.
Currently,
evaluate
does not check if the evaluation point (or interval) is contained within the domain defining the Taylor model.There is no assertion nor warning about evaluating outside the domain; the result in this case is actually wrong. The problem is that this happens silently.
We should use
@assert
, or at least@warn
when the point (or interval) used in the evaluation is not completely contained within the domain of the Taylor model.cc: @dpsanders, @UzielLinares