Skip to content
  • Stephen Nicholas Swatman's avatar
    Use smart pointers in numericalDerivatives · dd4b4a6d
    Stephen Nicholas Swatman authored
    Previously this method returned a raw pointer and also used many raw
    pointers internally, leading to rampant use of the delete keyword. We
    replace all these raw pointers by smart pointers to ensure that the
    memory is freed safely and correctly.
    dd4b4a6d