From 7223e51dc44c976d498d25644899ed94373e3932 Mon Sep 17 00:00:00 2001 From: Chuyuan Fu Date: Mon, 25 Mar 2019 17:32:53 -0700 Subject: [PATCH] fix compile --- examples/BlockSolver/btBlockSolver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/BlockSolver/btBlockSolver.cpp b/examples/BlockSolver/btBlockSolver.cpp index fa7b0116b..8cf144c14 100644 --- a/examples/BlockSolver/btBlockSolver.cpp +++ b/examples/BlockSolver/btBlockSolver.cpp @@ -142,11 +142,11 @@ btScalar btBlockSolver::solveGroupInternalBlock( for (int iteration = 0; iteration < maxIterations; iteration++) { - auto res1 = + btScalar res1 = btSequentialImpulseConstraintSolver::solveSingleIterationInternal( siData1, iteration, constraints, halfNumConstraints1, info); - auto res2 = + btScalar res2 = btSequentialImpulseConstraintSolver::solveSingleIterationInternal( siData2, iteration, constraints + halfNumConstraints1, halfNumConstraints2, info);