-
Notifications
You must be signed in to change notification settings - Fork 309
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix :sdes to handle streaming updates
Refactors the `:sdes` operator to properly handle evaluation with incremental updates. Before the `pos` was never getting updated, so the first value would get set to `NaN` and all others would not be modified. As part of this change the code was refactored a bit so that the `OnlineSlidingDes` instance is now part of the state object. This means that the state passed in to eval will get modified. For now that is ok, but the plan is to clean it up in future commits as part of making the state serializable.
- Loading branch information
1 parent
ed361fb
commit 7e8db84
Showing
2 changed files
with
62 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters