Ignore:
Timestamp:
Dec 8, 2010, 2:03:02 PM (14 years ago)
Author:
gah
Message:

Clean up debugging/printing traces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanovis/Unirect.h

    r1510 r1984  
    6565    ~Unirect3d(void) {
    6666        if (_values != NULL) {
    67             delete [] _values;
     67            free(_values);
    6868        }
    6969        if (_xUnits != NULL) {
     
    147147            GetVectorRange();
    148148        }
    149         Trace("magMin=%g %g\n", _magMin, DBL_MAX);
     149        TRACE("magMin=%g %g\n", _magMin, DBL_MAX);
    150150        return _magMin;
    151151    }
     
    154154            GetVectorRange();
    155155        }
    156         Trace("magMax=%g %g\n", _magMax, -DBL_MAX);
     156        TRACE("magMax=%g %g\n", _magMax, -DBL_MAX);
    157157        return _magMax;
    158158    }
     
    207207    ~Unirect2d(void) {
    208208        if (_values != NULL) {
    209             delete [] _values;
     209            free(_values);
    210210        }
    211211        if (_xUnits != NULL) {
     
    264264        return _nComponents;
    265265    }
    266     float *acceptValues(void) {
     266    float *transferValues(void) {
    267267        float *values;
    268268        values = _values;
Note: See TracChangeset for help on using the changeset viewer.