| # | Line 14 | Line 14 | int randomSPRNG::nStreamsInitialized = 0; | |
|---|---|---|
| 14 | ||
| 15 | int randomSPRNG::nStreamsInitialized = 0; | |
| 16 | ||
| 17 | < | randomSPRNG::randomSPRNG(iseed){ |
| 17 | > | randomSPRNG::randomSPRNG(int iseed){ |
| 18 | int newSeed; | |
| 19 | nStreamsInitialized++; | |
| 20 | newSeed = abs(iseed) + nStreamsInitialized; | |
| # | Line 41 | Line 41 | randomSPRNG::~randomSPRNG(){ | |
| 41 | ||
| 42 | randomSPRNG::~randomSPRNG(){ | |
| 43 | ||
| 44 | < | free_sprng(int *thisStream); |
| 44 | > | free_sprng(*thisStream); |
| 45 | nStreamsInitialized--; | |
| 46 | ||
| 47 | } | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |