Index: /branches/meh_branches/ppstack_test/ippconfig/recipes/ppStack.config
===================================================================
--- /branches/meh_branches/ppstack_test/ippconfig/recipes/ppStack.config	(revision 34101)
+++ /branches/meh_branches/ppstack_test/ippconfig/recipes/ppStack.config	(revision 34102)
@@ -84,5 +84,5 @@
 
 PSF.AUTOSIZE		BOOL	FALSE		# Determine output PSF size from input PSFs?
-# need to add/mod autosize to allow for simple autosize versus envelope
+# need to add/mod autosize to allow for simple autosize versus envelope?
 # PSF.AUTOENVEL		BOOL	TRUE		# rather than autosize
 PSF.OUTPUT.FWHM		F32	5.0		# Target size for output PSF (if not auto-sized), -1 as FWHM
Index: /branches/meh_branches/ppstack_test/ppStack/src/ppStackTarget.c
===================================================================
--- /branches/meh_branches/ppstack_test/ppStack/src/ppStackTarget.c	(revision 34101)
+++ /branches/meh_branches/ppstack_test/ppStack/src/ppStackTarget.c	(revision 34102)
@@ -196,5 +196,8 @@
 
         float norm = powf(10.0, -0.4 * options->norm->data.F32[i]); // Normalisation from stars
-        float meanVariance = bg->robustMedian * PS_SQR(norm);       // Mean variance in normalised image
+//        float meanVariance = bg->robustMedian * PS_SQR(norm);       // Mean variance in normalised image
+	//MEH - gene emailed about this and is in trunk already (just after merge)
+        float meanVariance = mean * PS_SQR(norm);       // Mean variance in normalised image
+
 
         if (meanVariance < minVariance) {
