Revision history [back]

It's nice if you can work around it, but it's still a bug. Reported here:

https://trac.sagemath.org/ticket/21444

It's nice if For the special case where you can work around it, but it's still want to replace exactly a bug. Reported here:function there is the special substitute_function:

https://trac.sagemath.org/ticket/21444

sage: tanh(1/3*x+1/3).substitute_function(tanh,log)
log(1/3*x + 1/3)
sage: coth(1/3*x+1/3).substitute_function(coth,log)
log(1/3*x + 1/3)