IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 3, 2006, 4:19:37 PM (20 years ago)
Author:
jhoblitt
Message:

typo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/db/psDB.c

    r8113 r8114  
    1212 *  @author Joshua Hoblitt
    1313 *
    14  *  @version $Revision: 1.75 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2006-08-04 02:16:58 $
     14 *  @version $Revision: 1.76 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2006-08-04 02:19:37 $
    1616 *
    1717 *  Copyright (C) 2005-2006  Joshua Hoblitt, University of Hawaii
     
    15911591        psStringAppend(&query, "%s=%d", item->name, (int)(item->data.S32));
    15921592    } else if ((item->type == PS_DATA_F32) || (item->type == PS_TYPE_F32)) {
    1593         psStringAppend(&query, "ABS(%s - %d) < %f.6", item->name, (int)(item->data.S32), FLT_EPSILON);
     1593        psStringAppend(&query, "ABS(%s - %d) < %.6f", item->name, (int)(item->data.S32), FLT_EPSILON);
    15941594    } else if ((item->type == PS_DATA_F64) || (item->type == PS_TYPE_F64)) {
    1595         psStringAppend(&query, "ABS(%s - %d) < %f.10", item->name, (int)(item->data.S32), DBL_EPSILON);
     1595        psStringAppend(&query, "ABS(%s - %d) < %.10f", item->name, (int)(item->data.S32), DBL_EPSILON);
    15961596    } else if ((item->type == PS_DATA_BOOL) || (item->type == PS_TYPE_BOOL)) {
    15971597        psStringAppend(&query, "%s=%d", item->name, (int)(item->data.B));
Note: See TracChangeset for help on using the changeset viewer.