We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbaa760 commit a3b19bdCopy full SHA for a3b19bd
include/pinocchio/algorithm/contact-cholesky.hxx
@@ -327,7 +327,7 @@ namespace pinocchio
327
DUt_partial.noalias() =
328
U.row(j).segment(j + 1, slice_dim).transpose().cwiseProduct(D.segment(j + 1, slice_dim));
329
330
- D[j] = -vec[j] - compliance[j] - U.row(j).segment(j + 1, slice_dim).dot(DUt_partial);
+ D[j] = -damping[j] - compliance[j] - U.row(j).segment(j + 1, slice_dim).dot(DUt_partial);
331
assert(
332
check_expression_if_real<Scalar>(D[j] != Scalar(0))
333
&& "The diagonal element is equal to zero.");
0 commit comments