I mean for example I have a mistake in the code that I have written and although my function should return a valid derivative, it returns a None. But maybe it’s not my mistake in my code and is rather the fact that my function is not dependent on the variable I am calculating the derivative for.
So when I get a None, I wouldn’t know if the reason is because of a mistake in my code or the fact that my function is independent of the variable.