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

%lg only valid in scanf, not printf

File:
1 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
Note: See TracChangeset for help on using the changeset viewer.