Log1p bug

Can you try your model again with -1/2 written either as -0.5 or -1/2.0?

The line (-1/2)*log1p(p.^2) is rounding to 0.

5 Likes