diff --git a/include/bounce/dynamics/cloth/sparse_sym_mat33.h b/include/bounce/dynamics/cloth/sparse_sym_mat33.h index b42f733..e84f69b 100644 --- a/include/bounce/dynamics/cloth/sparse_sym_mat33.h +++ b/include/bounce/dynamics/cloth/sparse_sym_mat33.h @@ -276,7 +276,7 @@ inline b3Mat33& b3SparseSymMat33::operator()(u32 i, u32 j) break; } - if (column == i) + if (column == j) { return v->value; }