IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 23, 2007, 2:52:55 PM (19 years ago)
Author:
eugene
Message:

finish code re-org, add loading of external psf model

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSim/src/ppSim.c

    r14463 r14657  
    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.