Skip to content

Commit 1c1a269

Browse files
committed
Fix typo in recursive call
1 parent 599a277 commit 1c1a269

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ros/src/fastrack/include/fastrack/value/matlab_value_function.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ template <typename TS, typename TC, typename TD, typename PS, typename PC,
339339
typename PD, typename RS, typename RD, typename B>
340340
VectorXd 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>
349349
VectorXd 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

Comments
 (0)