commit | 74762b60332d4a1c08ec5aef75ec718da9d305a2 | [log] [tgz] |
---|---|---|
author | Alex Stewart <alexs.mac@gmail.com> | Thu Mar 20 14:50:25 2014 +0000 |
committer | Alex Stewart <alexs.mac@gmail.com> | Thu Mar 20 19:32:28 2014 +0000 |
tree | 37cc636fa0d8eba024a9784f2945404f553a9e6b | |
parent | 4f603fb0d82317a53fa9d96abe6a97b2e69bff36 [diff] |
Allow construction of an AutoDiffLocalParameterization with a functor. - Previously AutoDiffLocalParameterization would internally instantiate a functor instance whenever one was required. This prohibits the user passing arguments to the constructor of the functor. - Now AutoDiffLocalParameterization can take over ownership of an allocated functor which the user created. This mimics the behaviour of AutoDiffCostFunction. Change-Id: I264e1face44ca5d5e71cc20c77cc7654d3f74cc0