@@ -1069,39 +1069,3 @@ function _solve_forward(prob, sensealg, u0, p, originator, args...; merge_callba
10691069 end
10701070end
10711071
1072- # ###
1073- # Catch undefined AD overload cases
1074-
1075- const ADJOINT_NOT_FOUND_MESSAGE = """
1076- Compatibility with reverse-mode automatic differentiation requires SciMLSensitivity.jl.
1077- Please install SciMLSensitivity.jl and do `using SciMLSensitivity`/`import SciMLSensitivity`
1078- for this functionality. For more details, see https://sensitivity.sciml.ai/dev/.
1079- """
1080-
1081- struct AdjointNotFoundError <: Exception end
1082-
1083- function Base. showerror (io:: IO , e:: AdjointNotFoundError )
1084- print (io, ADJOINT_NOT_FOUND_MESSAGE)
1085- println (io, TruncatedStacktraces. VERBOSE_MSG)
1086- end
1087-
1088- function _concrete_solve_adjoint (args... ; kwargs... )
1089- throw (AdjointNotFoundError ())
1090- end
1091-
1092- const FORWARD_SENSITIVITY_NOT_FOUND_MESSAGE = """
1093- Compatibility with forward-mode automatic differentiation requires SciMLSensitivity.jl.
1094- Please install SciMLSensitivity.jl and do `using SciMLSensitivity`/`import SciMLSensitivity`
1095- for this functionality. For more details, see https://sensitivity.sciml.ai/dev/.
1096- """
1097-
1098- struct ForwardSensitivityNotFoundError <: Exception end
1099-
1100- function Base. showerror (io:: IO , e:: ForwardSensitivityNotFoundError )
1101- print (io, FORWARD_SENSITIVITY_NOT_FOUND_MESSAGE)
1102- println (io, TruncatedStacktraces. VERBOSE_MSG)
1103- end
1104-
1105- function _concrete_solve_forward (args... ; kwargs... )
1106- throw (ForwardSensitivityNotFoundError ())
1107- end
0 commit comments