ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/math/MersenneTwister.hpp
(Generate patch)

Comparing trunk/OOPSE-4/src/math/MersenneTwister.hpp (file contents):
Revision 2068 by tim, Tue Mar 1 19:11:47 2005 UTC vs.
Revision 2069 by tim, Tue Mar 1 20:10:14 2005 UTC

# Line 198 | Line 198 | inline MTRand::uint32 MTRand::randInt() {
198   */
199   inline MTRand::uint32 MTRand::randInt() {
200  
201 <  uint32 ranNums[nstrides_];
201 >  std::vector<uint32> ranNums(nstrides_);
202    
203    for (int i = 0; i < nstrides_; ++i) {
204      ranNums[i] = rawRandInt();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines