Skip to content

Commit 65799a1

Browse files
Merge pull request #2473 from AayushSabharwal/as/update-news
docs: update NEWS.md
2 parents 6b96fec + ad2f146 commit 65799a1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

NEWS.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@
3333
`@parameters p::Int`. Array-valued parameters must be array symbolics; `@parameters p = [1.0, 2.0]`
3434
is now invalid and must be changed to `@parameters p[1:2] = [1.0, 2.0]`. The index of a parameter
3535
in the system is also not guaranteed to be an `Int`, and will instead be a custom undocumented type.
36-
To restore the old behavior:
36+
Parameters that have a default value depending on other parameters are now treated as dependent
37+
parameters. Their value cannot be modified directly. Whenever a parameter value is changed, dependent
38+
parameter values are recalculated. For example, if `@parameters p1 p2 = 3p1` then `p2` can not be
39+
modified directly. If `p1` is changed, then `p2` will be updated accordingly. To restore the old behavior:
3740

3841
+ Pass the `split = false` keyword to `structural_simplify`. E.g. `ss = structural_simplify(sys; split = false)`.
3942
+ Pass `split = false` to `@mtkbuild`. E.g. `@mtkbuild sys = ODESystem(...) split = false`.

0 commit comments

Comments
 (0)