IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 14, 2005, 3:56:55 PM (22 years ago)
Author:
evanalst
Message:

Changed log destination for seed log message.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/dataManip/tst_psRandom.c

    r3007 r3010  
    5959
    6060    // Valid type allocation with seed equal to zero
     61    psLogSetDestination("file:seed_msglog1.txt");
    6162    myRNG = psRandomAlloc(PS_RANDOM_TAUS, 0);
     63    psLogSetDestination("dest:stderr");
    6264    if (myRNG == NULL) {
    6365        printf("ERROR: Could not allocate psRandom structure\n");
     
    329331    psRandom *myRNG1 = NULL;
    330332    myRNG1 = psRandomAlloc(PS_RANDOM_TAUS, SEED);
     333    psLogSetDestination("file:seed_msglog2.txt");
    331334    psRandomReset(myRNG1,0);
     335    psLogSetDestination("dest:stderr");
    332336    psFree(myRNG1);
    333337
Note: See TracChangeset for help on using the changeset viewer.