-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Negative time signal when using Next #219
Comments
Merged #220 |
So, looking at this again. I believe that internally this is the correct semantics. We assume constant interpolation (even towards positive and negative infinity). The problem with #220 is that it assumes the signal has a positive start time, which I don't want to enforce. I just pushed a change that will use the start of the input signal which addresses this without assuming a positive start time. |
I do prefer your solution as it uses the existing input signal information, which enforces the positive time constraint |
Hi,
I have a question regarding the use of the Next operator (
X
) inmtl
. It seems that when the (discrete) time starts at 0, the operator might result in negative times and use undefined signal values.The following example highlights the issue. The property tries to capture whether
a
is True at timet
and False in the nextt+1
:This should not occur with the current inputs. However, the evaluation of the Next operator results in a signal which starts at
-1
, combined with a signal which does not have a value at that timestamp. Am I mistaken in my interpretation of the result I should expect from the operator?The text was updated successfully, but these errors were encountered: