• Sameer Agarwal's avatar
    Fix example code in the documentation. · a2e19f16
    Sameer Agarwal authored
    The example code for DynamicNumericDiffCostFunction and
    DynamicAutoDiffCostFunction in the documentation was
    allocating the cost function objects on the stack rather
    than the heap.
    
    Thanks to Rodney Hoskinson for reporting this.
    
    Change-Id: I217aee02d1e2c1e9c25b8197451e9f9e0482915d
    a2e19f16