ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/md_code/randomSPRNG.cpp
(Generate patch)

Comparing trunk/mdtools/md_code/randomSPRNG.cpp (file contents):
Revision 223 by chuckv, Fri Jan 3 22:04:50 2003 UTC vs.
Revision 250 by chuckv, Mon Jan 27 22:12:57 2003 UTC

# Line 14 | Line 14 | randomSPRNG::randomSPRNG(iseed){
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   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines