File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -559,7 +559,7 @@ function nonlinear_convert_differentials_check(rs::ReactionSystem)
559
559
# If the lhs upper level function is not a differential w.r.t. time.
560
560
# If the contenct of the differential is not a variable (and nothing more).
561
561
# If either of this is a case, throws the warning.
562
- if Symbolics . _occursin (Symbolics. is_derivative, eq. rhs) ||
562
+ if hasnode (Symbolics. is_derivative, eq. rhs) ||
563
563
! Symbolics. is_derivative (eq. lhs) ||
564
564
! isequal (Symbolics. operation (eq. lhs), Differential (get_iv (rs))) ||
565
565
(length (arguments (eq. lhs)) != 1 ) ||
@@ -903,4 +903,4 @@ function to_multivariate_poly(polyeqs::AbstractVector{Symbolics.BasicSymbolic{Re
903
903
end
904
904
905
905
ps
906
- end
906
+ end
You can’t perform that action at this time.
0 commit comments