Blitz logo

Blitz Bugs :

From: Techentin, Robert W. (techentin.robert_at_[hidden])
Date: 2002-05-02 15:40:41


> Alex Dicks [mailto:alex.dicks_at_[hidden]] wrote:
>
> I found a problem attempting to compile the random number
> example program. The problem lies within the header file
> "random/mt.h". Within "class MersenneTwister", you have the
> following typedefs and data members:
>
> typedef std::vector<twist_int> State;
> typedef State::iterator Iter;
> State S;
> Iter I;
>
> There are numerous places where you attempt to do something similar to
> this:
>
> I = &S[N];

I think you've correctly identified the problem, but it has already been
fixed. If you fetch the latest Blitz from the CVS archives, you will see
that mt.h was corrected on March 7, 2002. (Tested with g++ 3.0.4 under
cygwin)

Bob

-- 
Bob Techentin                        techentin.robert_at_[hidden] 
Mayo Foundation                                 (507) 538-5495 
200 First St. SW                            FAX (507) 284-9171
Rochester MN, 55901  USA            http://www.mayo.edu/sppdg/ 
_______________________________________________
Blitz-bugs mailing list
Blitz-bugs_at_[hidden]
http://www.oonumerics.org/mailman/listinfo.cgi/blitz-bugs