IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27981


Ignore:
Timestamp:
May 17, 2010, 12:34:05 PM (16 years ago)
Author:
Paul Price
Message:

Fix logical error/typo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppViz/src/ppCoord/ppCoordLoop.c

    r27978 r27981  
    164164        for (int i = 1; i < lines->n; i++) {
    165165            const char *line = lines->data[i]; // Line of interest
    166             if (!sscanf(line, "%lf %lf", &ra->data.F64[i-1], &dec->data.F64[i-1]) != 2) {
     166            if (sscanf(line, "%lf %lf", &ra->data.F64[i-1], &dec->data.F64[i-1]) != 2) {
    167167                psError(PS_ERR_IO, true, "Unable to read line %d of %s", i, data->clustersName);
    168168                return false;
Note: See TracChangeset for help on using the changeset viewer.