Changeset 9246


Ignore:
Timestamp:
Jan 23, 2009, 3:34:17 PM (11 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mjobs/MJob.cc

    r9245 r9246  
    303303    if (!seed.IsNull())
    304304    {
     305        if (!seed.IsAlnum())
     306        {
     307            *fLog << err << "ERROR - RandomNumberSeedValue not an integer: " << seed <<  endl;
     308            return kFALSE;
     309        }
     310
    305311        gRandom->SetSeed(seed.Atoi());
    306312        *fLog << inf << "Random number seed value set to " << seed.Atoi() << endl;
Note: See TracChangeset for help on using the changeset viewer.