Skip to content

Commit

Permalink
Fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
adrhill committed Aug 22, 2024
1 parent 78052bd commit 1e73da1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/SparseConnectivityTracer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function __init__()
"../ext/SparseConnectivityTracerNNlibExt.jl"
)
@require DataInterpolations = "82cc6244-b520-54b8-b5a6-8a565e85f1d0" include(
"..ext/SparseConnectivityTracerDataInterpolationsExt.jl"
"../ext/SparseConnectivityTracerDataInterpolationsExt.jl"
)
end
end
Expand Down
6 changes: 3 additions & 3 deletions test/ext/test_DataInterpolations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@ t = [0.0, 1.0, 3.0]

@testset "Non-differentiable" begin
@testset "$T" for T in interpolations_z
interp = construct_interpolator(T, u, t)
interp = T(u, t)
@test J(interp, 2.0) [0;;]
end
end
@testset "First-order differentiable" begin
@testset "$T" for T in interpolations_f
interp = construct_interpolator(T, u, t)
interp = T(u, t)
@test J(interp, 2.0) [1;;]
end
end
@testset "Second-order differentiable" begin
@testset "$T" for T in interpolations_s
interp = construct_interpolator(T, u, t)
interp = T(u, t)
@test J(interp, 2.0) [1;;]
end
end
Expand Down

0 comments on commit 1e73da1

Please sign in to comment.