You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@warn"You are attempting to convert a `ReactionSystem` coupled with differential equations. However, some of these differentials are not of the form `D(x) ~ ...` where:
1650
+
error("You are attempting to convert a `ReactionSystem` coupled with differential equations to a `NonlinearSystem`. However, some of these differentials are not of the form `D(x) ~ ...` where:
1652
1651
(1) The left-hand side is a differential of a single variable with respect to the time independent variable, and
1653
1652
(2) The right-hand side does not contain any differentials.
1654
-
This is permitted (and all differential will be set to `0`), however, it is recommended to proceed with caution to ensure that the produced nonlinear equation is the desired one."
1655
-
return
1653
+
This is generally not permitted.
1654
+
1655
+
If you still would like to perform this conversions, please use the `all_differentials_permitted = true` option. In this case, all differential will be set to `0`.
1656
+
However, it is recommended to proceed with caution to ensure that the produced nonlinear equation makes sense for you intended application."
1657
+
)
1656
1658
end
1657
1659
end
1658
1660
end
@@ -1790,13 +1792,14 @@ function DiffEqBase.NonlinearProblem(rs::ReactionSystem, u0,
0 commit comments