IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 5074


Ignore:
Timestamp:
Sep 20, 2005, 10:48:35 AM (21 years ago)
Author:
gusciora
Message:

psTrace() bug with trace level higher than 10.

File:
1 edited

Legend:

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

    r5066 r5074  
    77*  polynomials.  It also contains a Gaussian functions.
    88*
    9 *  @version $Revision: 1.121 $ $Name: not supported by cvs2svn $
    10 *  @date $Date: 2005-09-19 19:53:13 $
     9*  @version $Revision: 1.122 $ $Name: not supported by cvs2svn $
     10*  @date $Date: 2005-09-20 20:48:35 $
    1111*
    1212*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    218218    for (loop_x = 0; loop_x < poly->n; loop_x++) {
    219219        if (poly->mask[loop_x] == 0) {
    220             psTrace(".psLib.dataManip.psPolynomial.ordPolynomial1DEval", 10,
     220            // XXX: If you set the tracelevel to 10 here, and later set the tracelevel to
     221            // 2 or higher in the test code, you get seg faults.
     222            psTrace(".psLib.dataManip.psPolynomial.ordPolynomial1DEval", 8,
    221223                    "polysum+= sum*coeff [%lf+= (%lf * %lf)\n", polySum, xSum, poly->coeff[loop_x]);
    222224            polySum += xSum * poly->coeff[loop_x];
Note: See TracChangeset for help on using the changeset viewer.