Refactored DynamicNumericDiffCostFunction to use NumericDiff

Change-Id: I2fc4b203e984beaa7af96fb3cbe8ce14e5bca614
This commit is contained in:
Tal Ben-Nun
2015-05-06 19:38:10 +03:00
parent 4707eb22e9
commit b2dcef36e7
4 changed files with 46 additions and 98 deletions
@@ -282,6 +282,8 @@ class NumericDiffCostFunction
SizedCostFunction<kNumResiduals, \
N0, N1, N2, N3, N4, \
N5, N6, N7, N8, N9>::num_residuals(), \
block, \
N ## block, \
parameters_reference_copy.get(), \
jacobians[block])) { \
return false; \