Index: trunk/psModules/src/objects/pmSource.c
===================================================================
--- trunk/psModules/src/objects/pmSource.c	(revision 13335)
+++ trunk/psModules/src/objects/pmSource.c	(revision 13338)
@@ -6,6 +6,6 @@
  *  @author EAM, IfA: significant modifications.
  *
- *  @version $Revision: 1.28 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2007-05-10 19:48:35 $
+ *  @version $Revision: 1.29 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2007-05-10 20:25:05 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -801,5 +801,5 @@
 	psF32 **target = source->pixels->data.F32;
 	if (mode & PM_MODEL_OP_NOISE) {
-	  target = source->noise->data.F32;
+	    target = source->weight->data.F32;
 	}
 
@@ -823,5 +823,6 @@
     psImage *target = source->pixels;
     if (mode & PM_MODEL_OP_NOISE) {
-	target = source->noise;
+	target = source->weight;
+    }
     if (add) {
 	status = pmModelAdd (target, source->maskObj, model, PM_MODEL_OP_FULL);
