SciML / DataInterpolations.jl

A library of data interpolation and smoothing functions
MIT License
229 stars 46 forks source link

ChainRules usage isn't tested #86

Open oxinabox opened 3 years ago

oxinabox commented 3 years ago

84 should have failed as DoesNotExist is no longer defined by ChainRulesCore (renamed to NoTangent)

(fixed in https://github.com/PumasAI/DataInterpolations.jl/pull/85) but there are no actual tests of that directly. Which makes https://github.com/JuliaDiff/ChainRulesCore.jl/pull/292 kinda pointless.

It should be relatively straight forward to set them up using ChainRulesTestUtils.

ChrisRackauckas commented 3 years ago

Oh yes, they are all tested directly: https://github.com/PumasAI/DataInterpolations.jl/blob/master/test/derivative_tests.jl, but not through the rrule. That's a silly omission.