Hi Clement!



 Bled_Clement:

The exponential inside the log gets too big and goes to inf.


Please adapt the log-sum-exp trick 216 to your specific use case.
(Also, of course, although related, log10() is not the same as
log() (“natural log,” log base-e").
Best.
K. Frank