diff --git a/gtsam/linear/JacobianFactor.cpp b/gtsam/linear/JacobianFactor.cpp index 7881883b7..2a0ffecac 100644 --- a/gtsam/linear/JacobianFactor.cpp +++ b/gtsam/linear/JacobianFactor.cpp @@ -646,7 +646,7 @@ void JacobianFactor::gradientAtZero(double* d) const { /* ************************************************************************* */ Vector JacobianFactor::gradient(Key key, const VectorValues& x) const { - if (isConstrained()) { // Untested. But see the explaination in gradientAtZero() + if (isConstrained()) { // Untested. But see the explanation in gradientAtZero() Matrix A = getA(find(key)); return A.transpose()*ones(rows()); }