"strict" parameter in Limiters #3968
-
In
To me it should be exactly the opposite: I assume that the event generation is much Thanks a lot, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I agree that the choice of terminology could have been better. The way to see it is, that in this case "strict" is just a name without an implied meaning of "being strict" but with the result that the |
Beta Was this translation helpful? Give feedback.
-
The "strict" here means that it is guaranteed that the respective branch is only evaluated, if signaled by the condition. In this view "strict = true, if strict limits with noEvent(..)" looks fine. |
Beta Was this translation helpful? Give feedback.
The "strict" here means that it is guaranteed that the respective branch is only evaluated, if signaled by the condition.
E.g. if uMax == 1, the then branch in "if u > uMax then ..." is only evaluated if u > 1 (which is guaranteed by "noEvent(..)").
Instead, without a noEvent, it could be that…