Return to capaCommon.c CVS log | Up to [LON-CAPA] / capa / capa51 / pProj |
version 1.19, 2001/01/29 23:25:22 | version 1.20, 2001/12/21 20:25:40 |
---|---|
Line 3252 char *fml_str;char *input_str;char *var_ | Line 3252 char *fml_str;char *input_str;char *var_ |
} | } |
} else { | } else { |
diff = abs(1.0 - formula_val) * 100.0 ; | diff = abs(1.0 - formula_val) * 100.0 ; |
if( diff < tol ) { | if( diff > tol ) { |
outcome = INCORRECT; | outcome = INCORRECT; |
} | } |
} | } |