small comment typo

release/4.3a0
thduynguyen 2014-10-19 00:35:01 -04:00
parent b0d95c0a36
commit 3227766569
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}