Skip to content

Commit f4783b0

Browse files
docs: document IfLifting as experimental
1 parent 6367ed3 commit f4783b0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/systems/if_lifting.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,11 @@ If lifting converts (nested) if statements into a series of continuous events +
410410
Lifting proceeds through the following process:
411411
* rewrite comparisons to be of the form eqn [op] 0; subtract the RHS from the LHS
412412
* replace comparisons with generated parameters; for each comparison eqn [op] 0, generate an event (dependent on op) that sets the parameter
413+
414+
!!! warn
415+
416+
This is an experimental simplification pass. It may have bugs. Please open issues with
417+
MWEs for any bugs encountered while using this.
413418
"""
414419
function IfLifting(sys::System)
415420
if !is_time_dependent(sys)

0 commit comments

Comments
 (0)