diff --git a/gtsam/linear/HessianFactor.cpp b/gtsam/linear/HessianFactor.cpp index 07fe98446..1b0a10fee 100644 --- a/gtsam/linear/HessianFactor.cpp +++ b/gtsam/linear/HessianFactor.cpp @@ -131,11 +131,6 @@ HessianFactor::HessianFactor(Key j1, Key j2, Key j3, const Matrix& G11, } /* ************************************************************************* */ -namespace { -DenseIndex _getSizeHF(const Vector& m) { - return m.size(); -} - std::vector _getSizeHFVec(const std::vector& m) { std::vector dims; for (const Vector& v : m) {