Skip to content

Commit b58355e

Browse files
committed
fixup! add tests
1 parent efb8c5e commit b58355e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Project.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
7474
Symbolics = "0c5d862f-8b57-4792-8d23-62f2024744c7"
7575
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
7676
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
77+
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"
7778

7879
[targets]
79-
test = ["Enzyme", "BenchmarkTools", "SafeTestsets", "Pkg", "Test", "ForwardDiff", "StaticArrays", "Symbolics", "LinearSolve", "Random", "LinearAlgebra", "Zygote", "SparseDiffTools", "NonlinearProblemLibrary", "LeastSquaresOptim", "FastLevenbergMarquardt"]
80+
test = ["Enzyme", "BenchmarkTools", "SafeTestsets", "Pkg", "Test", "ForwardDiff", "StaticArrays", "Symbolics", "LinearSolve", "Random", "LinearAlgebra", "Zygote", "SparseDiffTools", "NonlinearProblemLibrary", "LeastSquaresOptim", "FastLevenbergMarquardt", "DiffEqBase"]

test/basictests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using BenchmarkTools, LinearSolve, NonlinearSolve, StaticArrays, Random, LinearAlgebra,
2-
Test, ForwardDiff, Zygote, Enzyme, SparseDiffTools
2+
Test, ForwardDiff, Zygote, Enzyme, SparseDiffTools, DiffEqBase
33

44
_nameof(x) = applicable(nameof, x) ? nameof(x) : _nameof(typeof(x))
55

@@ -429,7 +429,7 @@ end
429429
end
430430
termination_condition = NLSolveTerminationCondition(mode; abstol = nothing,
431431
reltol = nothing)
432-
probN2 = NonlinearProblem(quadratic_f, u0, 2.0)
432+
probN = NonlinearProblem(quadratic_f, u0, 2.0)
433433
@test all(solve(probN, LevenbergMarquardt(; termination_condition)).u .≈ sqrt(2.0))
434434
end
435435
end

0 commit comments

Comments
 (0)