diff --git a/gtsam/nonlinear/ISAM2Params.h b/gtsam/nonlinear/ISAM2Params.h index d0767cb84d..b55d97b0e7 100644 --- a/gtsam/nonlinear/ISAM2Params.h +++ b/gtsam/nonlinear/ISAM2Params.h @@ -226,8 +226,9 @@ struct GTSAM_EXPORT ISAM2Params { * \code FastMap thresholds; thresholds['x'] = (Vector(6) << 0.1, 0.1, 0.1, 0.5, 0.5, 0.5).finished(); - // 0.1 rad rotation threshold, 0.5 m translation threshold thresholds['l'] = - Vector3(1.0, 1.0, 1.0); // 1.0 m landmark position threshold + // 0.1 rad rotation threshold, 0.5 m translation threshold + thresholds['l'] = Vector3(1.0, 1.0, 1.0); + // 1.0 m landmark position threshold params.relinearizeThreshold = thresholds; \endcode */