spurious nan
Some function produce spurious nan when used on inputs with a derivative of 0.
I just made of pull request with a fix for sqrt and pow but other function would probably require similar fixes.
Some function produce spurious nan when used on inputs with a derivative of 0.
I just made of pull request with a fix for sqrt and pow but other function would probably require similar fixes.