@@ -239,7 +239,7 @@ function JacVec(f, u::AbstractArray, p = nothing, t = nothing; autodiff = AutoFo
239
239
240
240
(cache1, cache2), auto_jacvec, auto_jacvec!
241
241
else
242
- @ error (" Set autodiff to either AutoForwardDiff(), or AutoFiniteDiff()" )
242
+ error (" Set autodiff to either AutoForwardDiff(), or AutoFiniteDiff()" )
243
243
end
244
244
245
245
outofplace = static_hasmethod (f, typeof ((u,)))
@@ -281,7 +281,7 @@ function HesVec(f, u::AbstractArray, p = nothing, t = nothing; autodiff = AutoFo
281
281
282
282
(cache1, cache2), autoback_hesvec, autoback_hesvec!
283
283
else
284
- @ error (" Set autodiff to either AutoForwardDiff(), AutoZygote(), or AutoFiniteDiff()" )
284
+ error (" Set autodiff to either AutoForwardDiff(), AutoZygote(), or AutoFiniteDiff()" )
285
285
end
286
286
287
287
outofplace = static_hasmethod (f, typeof ((u,)))
@@ -314,7 +314,7 @@ function HesVecGrad(f, u::AbstractArray, p = nothing, t = nothing; autodiff = Au
314
314
315
315
(cache1, cache2), auto_hesvecgrad, auto_hesvecgrad!
316
316
else
317
- @ error (" Set autodiff to either AutoForwardDiff(), or AutoFiniteDiff()" )
317
+ error (" Set autodiff to either AutoForwardDiff(), or AutoFiniteDiff()" )
318
318
end
319
319
320
320
outofplace = static_hasmethod (f, typeof ((u,)))
0 commit comments