@@ -339,7 +339,7 @@ template <typename TS, typename TC, typename TD, typename PS, typename PC,
339339 typename PD, typename RS, typename RD, typename B>
340340VectorXd MatlabValueFunction<TS, TC, TD, PS, PC, PD, RS, RD, B>::
341341 RecursiveGradientInterpolator (const VectorXd& x, size_t idx) const {
342- return RecursiveMultilinearInterpolator (x idx, false );
342+ return RecursiveMultilinearInterpolator (x, idx, false );
343343}
344344
345345// Recursive helper function wrapper for gradient multilinear interpolation.
@@ -348,7 +348,7 @@ template <typename TS, typename TC, typename TD, typename PS, typename PC,
348348 typename PD, typename RS, typename RD, typename B>
349349VectorXd MatlabValueFunction<TS, TC, TD, PS, PC, PD, RS, RD, B>::
350350 RecursiveGradientInterpolator (const VectorXd& x, size_t idx) const {
351- return RecursiveMultilinearInterpolator (x idx, true );
351+ return RecursiveMultilinearInterpolator (x, idx, true );
352352}
353353
354354// Initialize from file. Returns whether or not loading was successful.
0 commit comments