Nora Abi Akar
authored
Fixes a bug caused by swapping the `time` and `time_to` vectors in the `shared_state` and not swapping the corresponding data pointers in the `threshold_watcher` and `mechanism`. - This fix keeps the swapping optimization, and instead, the `threshold_watcher` and `mechanism` hold pointers to the std::vectors (not the underlying arrays) which are dereferenced before use. - The mechanism API functions have been renamed. - A unit test is also added that checks the interpolation behavior of the `threshold_watcher`. Fixes #1251
Name | Last commit | Last update |
---|---|---|
.. |