You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a nested function call is being differentiated, and Clad fails to differentiate it, it emits a warning: "function 'g' was not differentiated because clad failed to differentiate it and no suitable overload was found in namespace 'custom_derivatives".
Example:
double f(double x) {
printf("%d", x);
return x;
}
...
clad::differentiate(f, 0);
// prints warning: "function 'printf' was not differentiated because clad failed to differentiate it and no suitable overload was found in namespace 'custom_derivatives"
}
It does not make it clear enough why exactly clad failed to differentiate it (e.g. no definition, unsupported statement, etc.). We should improve it.
The text was updated successfully, but these errors were encountered:
When a nested function call is being differentiated, and Clad fails to differentiate it, it emits a warning: "function 'g' was not differentiated because clad failed to differentiate it and no suitable overload was found in namespace 'custom_derivatives".
Example:
It does not make it clear enough why exactly clad failed to differentiate it (e.g. no definition, unsupported statement, etc.). We should improve it.
The text was updated successfully, but these errors were encountered: