Changeset 35728
- Timestamp:
- Jul 1, 2013, 11:33:44 AM (13 years ago)
- 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 168 168 for (i = 0; i < Ncatalog; i++) { 169 169 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; 173 173 case 1: 174 174 setMrel_catalog_alt (catalog, i, pass, flatcorr, &results, Nsecfilt); 175 175 break; 176 176 default: 177 fprintf (stderr, "invalid setMrel version %d (use 0 or1)\n", SET_MREL_VERSION);177 fprintf (stderr, "invalid setMrel version %d (use 1)\n", SET_MREL_VERSION); 178 178 exit (2); 179 179 } -
branches/eam_branches/ipp-20130509/Ohana/src/relphot/src/args.c
r35416 r35728 177 177 } 178 178 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 186 179 UPDATE = FALSE; 187 180 if ((N = get_argument (argc, argv, "-update"))) { … … 433 426 remove_argument (N, &argc, argv); 434 427 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]); 435 435 remove_argument (N, &argc, argv); 436 436 }
Note:
See TracChangeset
for help on using the changeset viewer.
