Changeset 5549


Ignore:
Timestamp:
May 18, 2015, 10:37:15 PM (4 years ago)
Author:
ldelgass
Message:

%lg only valid in scanf, not printf

Location:
nanovis/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • nanovis/trunk/FlowCmd.cpp

    r5425 r5549  
    243243        TRACE("nx = %d ny = %d nz = %d",
    244244              unirect->xNum(), unirect->yNum(), unirect->zNum());
    245         TRACE("x0 = %lg y0 = %lg z0 = %lg",
     245        TRACE("x0 = %g y0 = %g z0 = %g",
    246246              unirect->xMin(), unirect->yMin(), unirect->zMin());
    247         TRACE("lx = %lg ly = %lg lz = %lg",
     247        TRACE("lx = %g ly = %g lz = %g",
    248248              unirect->xMax() - unirect->xMin(),
    249249              unirect->yMax() - unirect->yMin(),
    250250              unirect->zMax() - unirect->zMin());
    251         TRACE("dx = %lg dy = %lg dz = %lg",
     251        TRACE("dx = %g dy = %g dz = %g",
    252252              unirect->xNum() > 1 ? (unirect->xMax() - unirect->xMin())/(unirect->xNum()-1) : 0,
    253253              unirect->yNum() > 1 ? (unirect->yMax() - unirect->yMin())/(unirect->yNum()-1) : 0,
    254254              unirect->zNum() > 1 ? (unirect->zMax() - unirect->zMin())/(unirect->zNum()-1) : 0);
    255         TRACE("magMin = %lg magMax = %lg",
     255        TRACE("magMin = %g magMax = %g",
    256256              unirect->magMin(), unirect->magMax());
    257257
  • nanovis/trunk/VtkDataSetReader.cpp

    r4503 r5549  
    162162    TRACE("isVectorData: %s", isVectorData ? "yes" : "no");
    163163    TRACE("nx = %i ny = %i nz = %i", nx, ny, nz);
    164     TRACE("x0 = %lg y0 = %lg z0 = %lg", x0, y0, z0);
    165     TRACE("lx = %lg ly = %lg lz = %lg", lx, ly, lz);
    166     TRACE("dx = %lg dy = %lg dz = %lg", dx, dy, dz);
    167     TRACE("dataMin = %lg dataMax = %lg nzero_min = %lg",
     164    TRACE("x0 = %g y0 = %g z0 = %g", x0, y0, z0);
     165    TRACE("lx = %g ly = %g lz = %g", lx, ly, lz);
     166    TRACE("dx = %g dy = %g dz = %g", dx, dy, dz);
     167    TRACE("dataMin = %g dataMax = %g nzero_min = %g",
    168168          vmin, vmax, nzero_min);
    169169
  • nanovis/trunk/VtkReader.cpp

    r4063 r5549  
    473473
    474474    TRACE("nx = %i ny = %i nz = %i", nx, ny, nz);
    475     TRACE("x0 = %lg y0 = %lg z0 = %lg", x0, y0, z0);
    476     TRACE("lx = %lg ly = %lg lz = %lg", lx, ly, lz);
    477     TRACE("dx = %lg dy = %lg dz = %lg", dx, dy, dz);
    478     TRACE("dataMin = %lg dataMax = %lg nzero_min = %lg",
     475    TRACE("x0 = %g y0 = %g z0 = %g", x0, y0, z0);
     476    TRACE("lx = %g ly = %g lz = %g", lx, ly, lz);
     477    TRACE("dx = %g dy = %g dz = %g", dx, dy, dz);
     478    TRACE("dataMin = %g dataMax = %g nzero_min = %g",
    479479          vmin, vmax, nzero_min);
    480480
  • nanovis/trunk/dxReader.cpp

    r5326 r5549  
    485485
    486486    TRACE("nx = %i ny = %i nz = %i", nx, ny, nz);
    487     TRACE("x0 = %lg y0 = %lg z0 = %lg", x0, y0, z0);
    488     TRACE("lx = %lg ly = %lg lz = %lg", lx, ly, lz);
    489     TRACE("dx = %lg dy = %lg dz = %lg", dx, dy, dz);
    490     TRACE("dataMin = %lg dataMax = %lg nzero_min = %lg",
     487    TRACE("x0 = %g y0 = %g z0 = %g", x0, y0, z0);
     488    TRACE("lx = %g ly = %g lz = %g", lx, ly, lz);
     489    TRACE("dx = %g dy = %g dz = %g", dx, dy, dz);
     490    TRACE("dataMin = %g dataMax = %g nzero_min = %g",
    491491          vmin, vmax, nzero_min);
    492492
Note: See TracChangeset for help on using the changeset viewer.