From 1e73da10f38d185361d73eaf80351b8fff9bf0bd Mon Sep 17 00:00:00 2001 From: adrhill Date: Thu, 22 Aug 2024 19:07:56 +0200 Subject: [PATCH] Fix path --- src/SparseConnectivityTracer.jl | 2 +- test/ext/test_DataInterpolations.jl | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/SparseConnectivityTracer.jl b/src/SparseConnectivityTracer.jl index 3c39650..7e4dc58 100644 --- a/src/SparseConnectivityTracer.jl +++ b/src/SparseConnectivityTracer.jl @@ -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 diff --git a/test/ext/test_DataInterpolations.jl b/test/ext/test_DataInterpolations.jl index c53722b..f9a6228 100644 --- a/test/ext/test_DataInterpolations.jl +++ b/test/ext/test_DataInterpolations.jl @@ -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