Skip to content

Commit ba4b134

Browse files
committed
remove _concrete_solve_adjoint and _concrete_solve_forward
1 parent d666929 commit ba4b134

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

src/solve.jl

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,39 +1058,3 @@ function _solve_forward(prob, sensealg, u0, p, originator, args...; merge_callba
10581058
end
10591059
end
10601060

1061-
####
1062-
# Catch undefined AD overload cases
1063-
1064-
const ADJOINT_NOT_FOUND_MESSAGE = """
1065-
Compatibility with reverse-mode automatic differentiation requires SciMLSensitivity.jl.
1066-
Please install SciMLSensitivity.jl and do `using SciMLSensitivity`/`import SciMLSensitivity`
1067-
for this functionality. For more details, see https://sensitivity.sciml.ai/dev/.
1068-
"""
1069-
1070-
struct AdjointNotFoundError <: Exception end
1071-
1072-
function Base.showerror(io::IO, e::AdjointNotFoundError)
1073-
print(io, ADJOINT_NOT_FOUND_MESSAGE)
1074-
println(io, TruncatedStacktraces.VERBOSE_MSG)
1075-
end
1076-
1077-
function _concrete_solve_adjoint(args...; kwargs...)
1078-
throw(AdjointNotFoundError())
1079-
end
1080-
1081-
const FORWARD_SENSITIVITY_NOT_FOUND_MESSAGE = """
1082-
Compatibility with forward-mode automatic differentiation requires SciMLSensitivity.jl.
1083-
Please install SciMLSensitivity.jl and do `using SciMLSensitivity`/`import SciMLSensitivity`
1084-
for this functionality. For more details, see https://sensitivity.sciml.ai/dev/.
1085-
"""
1086-
1087-
struct ForwardSensitivityNotFoundError <: Exception end
1088-
1089-
function Base.showerror(io::IO, e::ForwardSensitivityNotFoundError)
1090-
print(io, FORWARD_SENSITIVITY_NOT_FOUND_MESSAGE)
1091-
println(io, TruncatedStacktraces.VERBOSE_MSG)
1092-
end
1093-
1094-
function _concrete_solve_forward(args...; kwargs...)
1095-
throw(ForwardSensitivityNotFoundError())
1096-
end

0 commit comments

Comments
 (0)