File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 33
33
` @parameters p::Int ` . Array-valued parameters must be array symbolics; ` @parameters p = [1.0, 2.0] `
34
34
is now invalid and must be changed to ` @parameters p[1:2] = [1.0, 2.0] ` . The index of a parameter
35
35
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:
37
40
38
41
+ Pass the ` split = false ` keyword to ` structural_simplify ` . E.g. ` ss = structural_simplify(sys; split = false) ` .
39
42
+ Pass ` split = false ` to ` @mtkbuild ` . E.g. ` @mtkbuild sys = ODESystem(...) split = false ` .
You can’t perform that action at this time.
0 commit comments