trivial diff: cfloat.m bug fix

Fergus Henderson fjh at hydra.cs.mu.oz.au
Sun Oct 12 23:20:00 AEST 1997


clpr/cfloat.m:
	Fix a bug where it was assigning to SUCCESS_INDICATOR in the
	C code for a det procedure.

Index: cfloat.m
===================================================================
RCS file: /home/staff/zs/imp/clpr/cfloat.m,v
retrieving revision 1.14
diff -u -u -r1.14 cfloat.m
--- cfloat.m	1997/09/23 16:47:37	1.14
+++ cfloat.m	1997/10/12 13:15:19
@@ -1192,7 +1192,7 @@
 :- pragma c_code(cfloat__eq_float(Svar::co, Val::in),
 	"
 		ML_cfloat_init_solver_var(Svar);
-		SUCCESS_INDICATOR = ML_cfloat_eq_float(Svar, Val);
+		(void) ML_cfloat_eq_float(Svar, Val);
 	").
 

-- 
Fergus Henderson <fjh at cs.mu.oz.au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3         |     -- the last words of T. S. Garp.



More information about the developers mailing list