• Sébastien Villemot's avatar
    Fix invalid memory write in k-order DLL · f25ec51f
    Sébastien Villemot authored
    The bug would show at order 3 when the last output argument (derivs) is not
    requested (in practice every 3rd order solution without pruning). The DLL would
    still attempt to write into it, causing an invalid memory access.
    (cherry picked from commit cb46a269)
k_order_perturbation.cc 13.2 KB