IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 24, 2007, 8:15:33 AM (19 years ago)
Author:
magnier
Message:

I had + and - backwards

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_02_branch/psModules/src/objects/pmSource.c

    r12984 r12986  
    66 *  @author EAM, IfA: significant modifications.
    77 *
    8  *  @version $Revision: 1.25.4.6 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2007-04-24 17:04:52 $
     8 *  @version $Revision: 1.25.4.7 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2007-04-24 18:15:33 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    802802                float value = Io*source->modelFlux->data.F32[iy][ix];
    803803                if (add) {
     804                    source->pixels->data.F32[oy][ox] += value;
     805                } else {
    804806                    source->pixels->data.F32[oy][ox] -= value;
    805                 } else {
    806                     source->pixels->data.F32[oy][ox] += value;
    807807                }
    808808            }
Note: See TracChangeset for help on using the changeset viewer.