Index: trunk/psphot/src/pmFootprint.c
===================================================================
--- trunk/psphot/src/pmFootprint.c	(revision 15962)
+++ trunk/psphot/src/pmFootprint.c	(revision 16048)
@@ -762,5 +762,5 @@
    // Set stop bits from peaks list
    //
-   assert (peaks == NULL || peaks->n == 0 || pmPeakTest(peaks->data[0]));
+   assert (peaks == NULL || peaks->n == 0 || psMemCheckPeak(peaks->data[0]));
    if (peaks != NULL) {
        for (int i = 0; i < peaks->n; i++) {
@@ -1034,5 +1034,5 @@
     assert (footprints->n == 0 || pmFootprintTest(footprints->data[0]));
     assert (peaks != NULL);
-    assert (peaks->n == 0 || pmPeakTest(peaks->data[0]));
+    assert (peaks->n == 0 || psMemCheckPeak(peaks->data[0]));
     
     if (footprints->n == 0) {
