FiniteDifferences.jl icon indicating copy to clipboard operation
FiniteDifferences.jl copied to clipboard

Error if given nonfinite primal?

Open oxinabox opened this issue 4 years ago • 2 comments

We can't really do finite differencing around Inf or NaN can we?

oxinabox avatar Oct 01 '21 12:10 oxinabox

It's fine to get it a NaN as a primal input if it's marked as non differentiable right?

mzgubic avatar Oct 01 '21 12:10 mzgubic

Correct

oxinabox avatar Oct 01 '21 16:10 oxinabox