Rbeast icon indicating copy to clipboard operation
Rbeast copied to clipboard

Segmentation Fault when running rbeast in a for-loop with hasOutlier=True

Open marinasie opened this issue 6 months ago • 8 comments

Hi everyone,

I've been using your algorithm to detect change points in bird populations, and I'm loving the results so far!

When I run BEAST like this without a for-loop, it works perfectly: o = rb.beast(y, deltat='7 days', period='1 year', hasOutlier=True) However, when I introduce a for-loop around it to calculate change points for multiple time series, the first iteration executes without any issues, but I encounter a segmentation fault during the second iteration. With hasOutlier=False, the loop works fine.

I'm using the latest version of the Python package on my Mac, and all my time series have a length of 260.

Do you have any suggestions on how I might resolve this issue? Thank you!

marinasie avatar Aug 02 '24 09:08 marinasie