IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15522


Ignore:
Timestamp:
Nov 8, 2007, 1:04:30 PM (19 years ago)
Author:
eugene
Message:

option to skip re-match if radius <= 0.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20071023/psastro/src/psastroMosaicSetMatch.c

    r12806 r15522  
    1515    if (!status) {
    1616        psError(PS_ERR_IO, false, "Failed to lookup matching radius: %s", radiusWord);
    17         return NULL;
     17        return false;
    1818    }
     19
     20    if (RADIUS <= 0.0) {
     21        if (iteration == 0) {
     22            psError(PS_ERR_IO, false, "Invalid match radius for first iteration: %s", radiusWord);
     23            return false;
     24        }
     25        psWarning ("skipping match for iteration %d\n", iteration);
     26        return true;
     27    }
    1928
    2029    // this loop selects the matched stars for all chips
Note: See TracChangeset for help on using the changeset viewer.