Open LilithHafner opened 8 months ago
This could be because I am misusing the expand_derivatives
function. I'm happy to add a docstring if someone tells me what it it's supposed to do.
That should error. We should make sure it's a var. Could you add an error check there?
What is the derivative of
x
with respect to2x
? 1/2 is a great answer. An error is good too. 0 is wrong.This can be reproduces using only exported names with docstrings