Index: /branches/eam_branches/ipp-20140206/psphot/src/psphotStackReadout.c
===================================================================
--- /branches/eam_branches/ipp-20140206/psphot/src/psphotStackReadout.c	(revision 36628)
+++ /branches/eam_branches/ipp-20140206/psphot/src/psphotStackReadout.c	(revision 36629)
@@ -420,5 +420,5 @@
 
     // calculate lensing parameters
-    if (!psphotLensing(config, view, filerule)) {
+    if (!psphotLensing(config, view, STACK_RAW)) {
 	psErrorStackPrint(stderr, "Unable to do lensing parameters.");
         psErrorClear();
