Skip to content

Commit

Permalink
Bring comments for readbilty
Browse files Browse the repository at this point in the history
  • Loading branch information
nachovizzo committed Mar 5, 2024
1 parent f88310f commit 8fb80db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cpp/kiss_icp/core/Registration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ LinearSystem BuildLinearSystem(const Associations &associations, double kernel)
r.begin(), r.end(), J, sum_linear_systems, [&](const auto &association) {
const auto &[J_r, residual] = compute_jacobian_and_residual(association);
const double w = GM_weight(residual.squaredNorm());
return LinearSystem(J_r.transpose() * w * J_r, J_r.transpose() * w * residual);
return LinearSystem(J_r.transpose() * w * J_r, // JTJ
J_r.transpose() * w * residual); // JTr
});
},
// 2nd Lambda: Parallel reduction of the private Jacboians
Expand Down

0 comments on commit 8fb80db

Please sign in to comment.