IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26306


Ignore:
Timestamp:
Dec 2, 2009, 3:51:38 AM (16 years ago)
Author:
Paul Price
Message:

Fix syntax errors.

Location:
branches/pap/ppStack/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/pap/ppStack/src/ppStackMatch.c

    r26305 r26306  
    7373    psString name = NULL;               // Output name
    7474    psStringAppend(&name, "%s_%d.sources", root, number);
    75     FILE file = fopen(name, "w");       // File to write
     75    FILE *file = fopen(name, "w");      // File to write
    7676    psFree(name);
    7777    for (int i = 0; i < sources->n; i++) {
  • branches/pap/ppStack/src/ppStackSources.c

    r26303 r26306  
    272272    // Double check: all transparencies should be zero
    273273    {
    274         psArray *matches = pmSourceMatchSources(sourceLists, radius); // List of matches
     274        psArray *matches = pmSourceMatchSources(sourceLists, radius, true); // List of matches
    275275        if (!matches) {
    276276            psError(PS_ERR_UNKNOWN, false, "Unable to match sources");
     
    278278            return false;
    279279        }
    280         psVector *trans = pmSourceMatchRelphot(matches, zp, iter, tol, starLimit, transIter, transRej,
    281                                                transThresh, starRej, starSys);
     280        psVector *trans = pmSourceMatchRelphot(matches, zp, tol, iter1, starRej1, starSys1,
     281                                               iter2, starRej2, starSys2, starLimit,
     282                                               transIter, transRej, transThresh);
    282283        for (int i = 0; i < num; i++) {
    283284            fprintf(stderr, "Transparency of image %d: %f\n", i, trans->data.F32[i]);
Note: See TracChangeset for help on using the changeset viewer.