File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ function (cw::CondRewriter)(expr, dep)
85
85
return (expr, true , true )
86
86
# other singleton symbolic variables
87
87
elseif ! iscall (expr)
88
- @warn " Automatic conversion of if statments to events requires use of a limited conditional grammar; see the documentation. Skipping due to $expr "
88
+ @warn " Automatic conversion of if statements to events requires use of a limited conditional grammar; see the documentation. Skipping due to $expr "
89
89
return (expr, true , true ) # error case => conservative assumption is that both true and false have to be evaluated
90
90
elseif operation (expr) == Base.:(| ) # OR of two conditions
91
91
a, b = arguments (expr)
@@ -405,7 +405,7 @@ const CONDITION_SIMPLIFIER = Rewriters.Fixpoint(Rewriters.Postwalk(Rewriters.Cha
405
405
(@rule ifelse (false , (~ x), (~ y)) => (~ y))])))
406
406
407
407
"""
408
- If lifting converts (nested) if statements into a series of continous events + a logically equivalent if statement + parameters.
408
+ If lifting converts (nested) if statements into a series of continuous events + a logically equivalent if statement + parameters.
409
409
410
410
Lifting proceeds through the following process:
411
411
* rewrite comparisons to be of the form eqn [op] 0; subtract the RHS from the LHS
You can’t perform that action at this time.
0 commit comments