rafat / ctsa

A Univariate Time Series Analysis and ARIMA Modeling Package in ANSI C. Updated with SARIMAX and Auto ARIMA.
https://code.google.com/p/ctsa/
Other
57 stars 25 forks source link

Exit commands in the code #3

Open flesicek opened 3 years ago

flesicek commented 3 years ago

Hey,

In the ctsa package, the exception handling is implemented using exit commands. This is creating an issue when ctsa is used as a library. We are testing ctsa for node https://www.npmjs.com/package/ctsa and when there are exit commands, ctsa will bring down whole node-js process.

Would it be possible to replace exit commands with N/A return value instead?

Thanks Jozef

rafat commented 3 years ago

Exit commands are an issue in some of the older optimization codes. I will take a look at it and implement the return values.