get rid of auto

This commit is contained in:
Xuchen Han
2019-08-02 15:19:37 -07:00
parent 753b2d9f15
commit f624b60c19
5 changed files with 14 additions and 12 deletions

View File

@@ -47,7 +47,7 @@ void btDeformableBackwardEulerObjective::multiply(const TVStack& x, TVStack& b)
btSoftBody* psb = m_softBodies[i];
for (int j = 0; j < psb->m_nodes.size(); ++j)
{
const auto& node = psb->m_nodes[j];
const btSoftBody::Node& node = psb->m_nodes[j];
b[counter] += (node.m_im == 0) ? btVector3(0,0,0) : x[counter] / node.m_im;
++counter;
}