Index: trunk/psphot/src/psphotChoosePSF.c
===================================================================
--- trunk/psphot/src/psphotChoosePSF.c	(revision 6862)
+++ trunk/psphot/src/psphotChoosePSF.c	(revision 6900)
@@ -57,4 +57,5 @@
     // set up an array to store the results
     psArray *models = psArrayAlloc (list->n);
+    models->n = list->n;
 
     // try each model option listed in config
