IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35728


Ignore:
Timestamp:
Jul 1, 2013, 11:33:44 AM (13 years ago)
Author:
eugene
Message:

calling the wrong version of setMrelCatalog

Location:
branches/eam_branches/ipp-20130509/Ohana/src/relphot/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130509/Ohana/src/relphot/src/StarOps.c

    r35104 r35728  
    168168  for (i = 0; i < Ncatalog; i++) {
    169169    switch (SET_MREL_VERSION) {
    170       case 0:
    171         setMrel_catalog (catalog, i, pass, flatcorr, &results, Nsecfilt);
    172         break;
     170      // case 0:
     171      // setMrel_catalog (catalog, i, pass, flatcorr, &results, Nsecfilt);
     172      // break;
    173173      case 1:
    174174        setMrel_catalog_alt (catalog, i, pass, flatcorr, &results, Nsecfilt);
    175175        break;
    176176      default:
    177         fprintf (stderr, "invalid setMrel version %d (use 0 or 1)\n", SET_MREL_VERSION);
     177        fprintf (stderr, "invalid setMrel version %d (use 1)\n", SET_MREL_VERSION);
    178178        exit (2);
    179179    }
  • branches/eam_branches/ipp-20130509/Ohana/src/relphot/src/args.c

    r35416 r35728  
    177177  }
    178178
    179   SET_MREL_VERSION = 1;
    180   if ((N = get_argument (argc, argv, "-set-mrel-version"))) {
    181     remove_argument (N, &argc, argv);
    182     SET_MREL_VERSION = atof(argv[N]);
    183     remove_argument (N, &argc, argv);
    184   }
    185 
    186179  UPDATE = FALSE;
    187180  if ((N = get_argument (argc, argv, "-update"))) {
     
    433426    remove_argument (N, &argc, argv);
    434427    UserPatch.Dmax = atof (argv[N]);
     428    remove_argument (N, &argc, argv);
     429  }
     430
     431  SET_MREL_VERSION = 1;
     432  if ((N = get_argument (argc, argv, "-set-mrel-version"))) {
     433    remove_argument (N, &argc, argv);
     434    SET_MREL_VERSION = atof(argv[N]);
    435435    remove_argument (N, &argc, argv);
    436436  }
Note: See TracChangeset for help on using the changeset viewer.