-
-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Labels
bugSomething isn't workingSomething isn't working
Description
SCT cannot handle functions which call the derivative or integral of interpolations, MWE:
using DataInterpolations
using SparseConnectivityTracer
t = [0.0, 1.0, 2.5, 4.0, 6.0]
u = sin.(t)
itp = PCHIPInterpolation(u, t)
f(x) = DataInterpolations.derivative(itp, x[1])
detector = TracerSparsityDetector()
x = [2.5]
jacobian_sparsity(f, x, detector)
@adrianhill I suppose this is doable if in the extension we also specify whether the third derivative is zero?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working