diff --git a/gtsam/nonlinear/Values-inl.h b/gtsam/nonlinear/Values-inl.h index 590767e90..cd8473a09 100644 --- a/gtsam/nonlinear/Values-inl.h +++ b/gtsam/nonlinear/Values-inl.h @@ -292,12 +292,8 @@ namespace gtsam { Eigen::Matrix operator()(Key j, const gtsam::Value * const pointer) { try { -//<<<<<<< HEAD // value returns a const Vector&, and the return makes a copy !!!!! return dynamic_cast >&>(*pointer).value(); -//======= -// return reinterpret_cast >&>(*pointer).value(); -//>>>>>>> feature/FixFixedValues } catch (std::bad_cast &) { // If a fixed vector was stored, we end up here as well. throw ValuesIncorrectType(j, typeid(*pointer),