You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When creating an interpolated state, we will add a new duration object to handle the initial state if one doesn't already exist. Unfortunately there's an off by one error in the object we create, where it's computing the state_end value. This results in the duration object dropping the last character, which causes it to fail to match the string for the first state when doing the interpolation.
This shows up as the following error:
ERROR: assertion failed: first_state < durations.len() && last_state < durations.len()
CONTEXT: extension/src/state_aggregate.rs:92:13
The text was updated successfully, but these errors were encountered:
Describe the bug
When creating an interpolated state, we will add a new duration object to handle the initial state if one doesn't already exist. Unfortunately there's an off by one error in the object we create, where it's computing the state_end value. This results in the duration object dropping the last character, which causes it to fail to match the string for the first state when doing the interpolation.
This shows up as the following error:
ERROR: assertion failed: first_state < durations.len() && last_state < durations.len()
CONTEXT: extension/src/state_aggregate.rs:92:13
The text was updated successfully, but these errors were encountered: