Index: trunk/stac/src/stacSize.c
===================================================================
--- trunk/stac/src/stacSize.c	(revision 2897)
+++ trunk/stac/src/stacSize.c	(revision 3375)
@@ -1,3 +1,4 @@
 #include <stdio.h>
+#include <assert.h>
 #include "pslib.h"
 #include "stac.h"
@@ -9,8 +10,5 @@
 {
     int nImages = images->n;		// Number of input images
-    if (nImages != maps->n) {
-	psError("stac.size", "Number of images (%d) and maps (%d) do not match.\n", nImages, maps->n);
-	return false;
-    }
+    assert(maps->n == nImages);
 
     psPlane *inCoord = psAlloc(sizeof(psPlane)); // Input coordinates
