call to differentiable function as a parameter of non-differentiable function is not handled correctly

Issue #21 wontfix
David Tolpin repo owner created an issue

Parameters of non-differentiable functions are treated as non-differentiated context. There is a workaround, but inconvenient. Think about fixing.

Comments (1)

  1. David Tolpin reporter

    this is mostly relevant for print debugging, why otherwise one would call a differentiable function as an argument to a non-differentiable function.

    a work around is simple --- computing and assigning the value one wants to print. making the compiler do it automatically adds complexity to the code without much value.

  2. Log in to comment