diff --git a/test/adolctest.cc b/test/adolctest.cc index 5c5d6cb4be7a893ce514b146b0b31b5357591197..aca5c619f748089998310b9d806ed33c3ce4caff 100644 --- a/test/adolctest.cc +++ b/test/adolctest.cc @@ -201,7 +201,7 @@ int testCosseratEnergy() { for (size_t j=0; j<nDofs; j++) localSolution[j] = testPoints[index[j]]; - if (diameter(localSolution) > 0.5*TargetSpace::convexityRadius) + if (diameter(localSolution) > TargetSpace::convexityRadius) continue; std::vector<typename TargetSpace::TangentVector> localGradient;