Skip to content
This repository has been archived by the owner on Dec 10, 2023. It is now read-only.

Commit

Permalink
use __solve for adjoint support and high level error throwing
Browse files Browse the repository at this point in the history
Fixes #2
  • Loading branch information
ChrisRackauckas committed Jan 17, 2023
1 parent d946bd1 commit 9aabf91
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ authors = ["SciML"]
version = "0.1.1"

[deps]
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"
LineSearches = "d3d80556-e9d4-5f37-9878-2ab0fcc64255"
NLsolve = "2774e3e8-f4cf-5e23-947b-6d7e65073b56"
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
Expand Down
1 change: 1 addition & 0 deletions src/SciMLNLSolve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module SciMLNLSolve
using Reexport
using NLsolve
using LineSearches
using DiffEqBase

@reexport using SciMLBase
include("algorithms.jl")
Expand Down
2 changes: 1 addition & 1 deletion src/solve.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function SciMLBase.solve(prob::Union{SciMLBase.AbstractSteadyStateProblem,
function SciMLBase.__solve(prob::Union{SciMLBase.AbstractSteadyStateProblem,
SciMLBase.AbstractNonlinearProblem},
alg::algType,
reltol = 1e-3,
Expand Down

0 comments on commit 9aabf91

Please sign in to comment.