small comment typo
parent
b0d95c0a36
commit
3227766569
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue