Index: trunk/psLib/test/imageops/tap_psImageMapFit2.c
===================================================================
--- trunk/psLib/test/imageops/tap_psImageMapFit2.c	(revision 20767)
+++ trunk/psLib/test/imageops/tap_psImageMapFit2.c	(revision 42822)
@@ -61,5 +61,8 @@
 
 	// fit the data to the map
-	psImageMapFit (map, x, y, f, NULL);
+	bool status;
+	psImageMapFit (&status, map, NULL, 0, x, y, f, NULL);
+	ok (status, "ok fit");
+	// psImageMapFit (map, x, y, f, NULL);
 
 	psImage *field = psImageAlloc(1000, 1000, PS_TYPE_F32);
@@ -124,5 +127,5 @@
 	for (int ix = 0; ix < 1000; ix += 20) {
 	    for (int iy = 0; iy < 1000; iy += 20) {
-		x->data.F32[x->n] = ix + 0,5;
+		x->data.F32[x->n] = ix + 0.5;
 		y->data.F32[y->n] = iy + 0.5;
 		f->data.F32[f->n] = PS_SQR(x->data.F32[x->n]) + PS_SQR(y->data.F32[x->n]);
@@ -141,5 +144,8 @@
 	// XXX this function needs to correct for the mean superpixel position 
 	// which is sampled...
-	psImageMapFit (map, NULL, 0, x, y, f, NULL);
+	bool status;
+	psImageMapFit (&status, map, NULL, 0, x, y, f, NULL);
+	ok (status, "ok fit");
+	// psImageMapFit (map, NULL, 0, x, y, f, NULL);
 	psFree (binning);
 
