[LON-CAPA-cvs] cvs: capa /capa51/pProj capaCommon.c

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 23 Jan 2007 07:26:14 -0000


albertel		Tue Jan 23 02:26:14 2007 EDT

  Modified files:              
    /capa/capa51/pProj	capaCommon.c 
  Log:
  - part of BUG 4751, was basically only checking the last sample point
  
  
Index: capa/capa51/pProj/capaCommon.c
diff -u capa/capa51/pProj/capaCommon.c:1.28 capa/capa51/pProj/capaCommon.c:1.29
--- capa/capa51/pProj/capaCommon.c:1.28	Fri Jul 28 02:38:13 2006
+++ capa/capa51/pProj/capaCommon.c	Tue Jan 23 02:26:09 2007
@@ -3311,6 +3311,9 @@
       outcome = BAD_FORMULA;
       break;
     }
+    if (outcome != APPROX_ANS) {
+      break;
+    }
   }
   capa_mfree((char *)check_fml_str);