Skip to content

[bugfix] Make interpolate() robust wrt non-differentiable functions

With this patch the CachedDerivativeLocalFunction wrapper is only created if the local function is differentiable.

This also adds a test case where interpolate() is called with a non-differentiable GridFunction.

This is a slightly simpler alternative to !465 (closed) that also provides a test case.

Merge request reports