Skip to content

Commit ac3057b

Browse files
committed
Update SymbolicUtils compat
1 parent c36fbf5 commit ac3057b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Project.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,9 @@ Requires = "1.0"
5656
RuntimeGeneratedFunctions = "0.5.12"
5757
Setfield = "1"
5858
StructuralIdentifiability = "0.5.1"
59-
SymbolicUtils = "1.0.3"
6059
Symbolics = "5.27"
60+
SymbolicUtils = "2.0.2"
61+
TermInterface = "0.4.1"
6162
Unitful = "1.12.4"
6263
julia = "1.10"
6364

src/reactionsystem_conversions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ function nonlinear_convert_differentials_check(rs::ReactionSystem)
560560
# If the contenct of the differential is not a variable (and nothing more).
561561
# If either of this is a case, throws the warning.
562562
if Symbolics._occursin(Symbolics.is_derivative, eq.rhs) ||
563-
!iscall(eq.lhs) ||
563+
!Symbolics.is_derivative(eq.lhs) ||
564564
!isequal(Symbolics.operation(eq.lhs), Differential(get_iv(rs))) ||
565565
(length(arguments(eq.lhs)) != 1) ||
566566
!any(isequal(arguments(eq.lhs)[1]), nonspecies(rs))

0 commit comments

Comments
 (0)