Index: /branches/pap/ppImage/src/ppImage.h
===================================================================
--- /branches/pap/ppImage/src/ppImage.h	(revision 23646)
+++ /branches/pap/ppImage/src/ppImage.h	(revision 23647)
@@ -147,5 +147,5 @@
 
 bool ppImagePhotom(psMetadata *stats, pmConfig *config, pmFPAview *view);
-bool ppImageAstrom(pmConfig *config);
+bool ppImageAstrom(pmConfig *config, psMetadata *stats);
 bool ppImageAddstar(pmConfig *config);
 
Index: /branches/pap/ppImage/src/ppImageAstrom.c
===================================================================
--- /branches/pap/ppImage/src/ppImageAstrom.c	(revision 23646)
+++ /branches/pap/ppImage/src/ppImageAstrom.c	(revision 23647)
@@ -7,5 +7,5 @@
 // this function is mostly equivalent to the top-level of psastro, with some
 // modifications since the data has already been loaded.
-bool ppImageAstrom (pmConfig *config) {
+bool ppImageAstrom (pmConfig *config, psMetadata *stats) {
 
     bool status;
@@ -27,5 +27,5 @@
     }
 
-    if (!psastroAnalysis (config)) {
+    if (!psastroAnalysis(config, stats)) {
         psError (PSASTRO_ERR_UNKNOWN, false, "failure in psastro analysis\n");
         return false;
Index: /branches/pap/ppImage/src/ppImageLoop.c
===================================================================
--- /branches/pap/ppImage/src/ppImageLoop.c	(revision 23646)
+++ /branches/pap/ppImage/src/ppImageLoop.c	(revision 23647)
@@ -205,5 +205,5 @@
     // this also performs the psastro file IO
     if (options->doAstromChip || options->doAstromMosaic) {
-        if (!ppImageAstrom(config)) {
+        if (!ppImageAstrom(config, stats)) {
             ESCAPE("error running astrometry.");
         }
