Open Ajk4 opened 6 years ago
Release 0.4 includes the simplest solution of using a counter to keep track of the number of iterations and exiting the loop when the maximum is reached. It is far preferable to understand why the algorithm is falling into this state and taking steps to prevent that.
See discussion in PR https://github.com/signaflo/java-timeseries/pull/3
Code
can fall into infinite loop.