-
-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restore support for both index types in window()
Moving the duplicate index value handling to C created an error when the index type was integer. This was not caught in the unit tests. Add a loop around the window/subset unit tests that run them on both index types (double and integer). Add support for both index types to the fill_window_dups_rev() C function. Change the scalar '1' to '1L' in the pmax() call after findInterval() to ensure that 'base_index' is not coerced to double from integer. See #251.
- Loading branch information
1 parent
82f8c9e
commit 5520157
Showing
3 changed files
with
79 additions
and
46 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
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