commit | a2e19f163a9e45ee4f768efcf2a7c7e1d10bdc0c | [log] [tgz] |
---|---|---|
author | Sameer Agarwal <sameeragarwal@google.com> | Thu Jan 29 19:32:26 2015 -0800 |
committer | Sameer Agarwal <sameeragarwal@google.com> | Thu Jan 29 19:33:39 2015 -0800 |
tree | eee140703f9a9195f793ba74e67a5f75cd6f4f57 | |
parent | 940c0032eb0fa9bb3050fa6e30dad004f1e37f53 [diff] |
Fix example code in the documentation. 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