-
-
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.
Calling na.locf() on a multi-column xts object that is all NA except for the first row did not carry the first row value forward. This was caused by maxgap = nrow(x) and the gap counter not being reset after looping over the first column. This would have also been a problem if all but the last row were NA and na.locf() was called with fromLast = FALSE. Fixes #232.
- Loading branch information
1 parent
af7464b
commit 31b5911
Showing
2 changed files
with
38 additions
and
0 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