Validated relative errors to tests/TestContactAngle

This commit is contained in:
James McClure 2014-12-30 11:11:43 -05:00
parent cfcc734342
commit f853e6f749

View File

@ -273,7 +273,7 @@ int main (int argc, char *argv[])
printf("Geodesic curvature (wns) = %f, Analytical, Rel. Error = %f = %f \n", KGwns, 0.0, 0.0);
analytical = 1.0/RADIUS;
RelError = fabs(KNwns-analytical)/analytical;
if (RelError > 0.01){
if (RelError > 0.02){
toReturn = 1;
printf("tests/TestContactAngle.cpp: exceeded error tolerance KNwns \n");
}