IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 22, 2007, 3:05:47 PM (19 years ago)
Author:
eugene
Message:

load / apply psf model from external source

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20070817/ppSim/src/ppSim.c

    r14463 r14614  
    44{
    55    psLibInit(NULL);
     6    if (!pmModelClassInit ()) abort();
     7
    68    pmConfig *config = pmConfigRead(&argc, argv, NULL); // Configuration
    79    if (!config) {
     
    1820    }
    1921
    20     psExit loopError;
    21     if ((loopError = ppSimLoop(config))) {
     22    if (!ppSimLoop(config)) {
    2223        psErrorStackPrint(stderr, "Unable to generate data.");
    2324        psFree(config);
    24         exit(loopError);
     25        exit(PS_EXIT_SYS_ERROR);
    2526    }
    2627
Note: See TracChangeset for help on using the changeset viewer.