bfast2 / bfast2/strucchangeRcpp

Error in RSS.table[as.character(opt[1]), i] : subscript out of bounds when using C++

Open
#13 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
R
Stars
6
Forks
5
PR merge metrics
No merged PRs in 30d

Description

I noticed a difference when running the R code and the C++ code path: in the latter, I sometimes get the error:
```
Error in RSS.table[as.character(opt[1]), i] : subscript out of bounds
```
This comes from breakpoints(), extract.breaks(), which implies that the RSS.table is not the same size as it would be in the R implementation (as I have never run into that problem in the R code path). I'll try and get an example time series for that.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.