IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10608


Ignore:
Timestamp:
Dec 10, 2006, 7:28:46 AM (19 years ago)
Author:
magnier
Message:

fixed polynomial2D copy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psPolynomial.c

    r10605 r10608  
    77*  polynomials.  It also contains a Gaussian functions.
    88*
    9 *  @version $Revision: 1.154 $ $Name: not supported by cvs2svn $
    10 *  @date $Date: 2006-12-10 04:13:25 $
     9*  @version $Revision: 1.155 $ $Name: not supported by cvs2svn $
     10*  @date $Date: 2006-12-10 17:28:46 $
    1111*
    1212*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    697697    for (int i = 0; i < (1 + poly->nX); i++) {
    698698        for (int j = 0; j < (1 + poly->nY); j++) {
    699             out->coeff[i][j] = poly->coeff[i][j] = 0.0;
    700             out->coeffErr[i][j] = poly->coeffErr[i][j] = 0.0;
    701             out->mask[i][j] = poly->mask[i][j] = 0;
     699            out->coeff[i][j] = poly->coeff[i][j];
     700            out->coeffErr[i][j] = poly->coeffErr[i][j];
     701            out->mask[i][j] = poly->mask[i][j];
    702702        }
    703703    }
Note: See TracChangeset for help on using the changeset viewer.