AllowRotation and size_t
This commit is contained in:
committed by
PaddleStroke
parent
fe99ad2593
commit
85557e1fa4
@@ -31,7 +31,7 @@ void EulerConstraint::calcPostDynCorrectorIteration()
|
||||
{
|
||||
auto& qE = static_cast<PartFrame*>(owner)->qE;
|
||||
aG = qE->sumOfSquares() - 1.0;
|
||||
for (int i = 0; i < 4; i++)
|
||||
for (size_t i = 0; i < 4; i++)
|
||||
{
|
||||
pGpE->at(i) = 2.0 * qE->at(i);
|
||||
}
|
||||
@@ -54,7 +54,7 @@ void EulerConstraint::fillPosICJacob(SpMatDsptr mat)
|
||||
mat->atijplusFullRow(iG, iqE, pGpE);
|
||||
mat->atijplusFullColumn(iqE, iG, pGpE->transpose());
|
||||
auto twolam = 2.0 * lam;
|
||||
for (int i = 0; i < 4; i++)
|
||||
for (size_t i = 0; i < 4; i++)
|
||||
{
|
||||
auto ii = iqE + i;
|
||||
mat->atijplusNumber(ii, ii, twolam);
|
||||
|
||||
Reference in New Issue
Block a user