Optim loses NaN
This function takes numbers that are very small and sets them to the minimal tolerance for C++. Doing this prevents NaN from entering the optim routine.
code_zero(theta)
theta |
A |
A vec
that contains safe theta values.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.