clad -- automatic differentiation for C/C++
GNU Lesser General Public License v3.0
280
stars
123
forks
source link
Static qualifier is dropped when differentiating methods with out-of-line definitions in forward mode #951
Closed
PetroZarytskyi closed 3 months ago
Reproducer:
The bit of code above is differentiated as
Whereas using an in-line definition
results in the expected behavior