Skip to content

Commit b6264b2

Browse files
fixup! test: update several tests to MTKv9, fix minor bug
1 parent 4f68c98 commit b6264b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scimlfunctions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3897,7 +3897,7 @@ end
38973897
function sys_or_symbolcache(sys, syms, paramsyms, indepsym = nothing)
38983898
if sys === nothing &&
38993899
(syms !== nothing || paramsyms !== nothing || indepsym !== nothing)
3900-
error("The use of keyword arguments `syms`, `paramsyms` and `indepsym` for `SciMLFunction`s is deprecated. Pass `sys = SymbolCache(syms, paramsyms, indepsym)` instead.")
3900+
Base.depwarn("The use of keyword arguments `syms`, `paramsyms` and `indepsym` for `SciMLFunction`s is deprecated. Pass `sys = SymbolCache(syms, paramsyms, indepsym)` instead.", :syms)
39013901
sys = SymbolCache(syms, paramsyms, indepsym)
39023902
end
39033903
return sys

0 commit comments

Comments
 (0)