IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 19, 2009, 11:32:06 AM (17 years ago)
Author:
eugene
Message:

add function to reduce matches to best unique set

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20091113/psastro/src/psastroOneChipFit.c

    r26168 r26197  
    6666
    6767        if (iter >= uniqIter) {
    68           if (!pmAstromRadiusMatchUniq (rawstars, refstars, match)) {
    69             psLogMsg ("psastro", 3, "failed to generate a uniq find radius-matched sources\n");
    70             return false;
    71           }
     68            psArray *unique = pmAstromRadiusMatchUniq (rawstars, refstars, match);
     69            if (!unique) {
     70                psLogMsg ("psastro", 3, "failed to generate a uniq set of matched sources\n");
     71                return false;
     72            }
     73            psFree (match);
     74            match = unique;
    7275        }
    7376
Note: See TracChangeset for help on using the changeset viewer.