Re: Problems with RamdomizedLDS and GenericLowDiscrepancy

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/Problems-with-RamdomizedLDS-and-GenericLowDiscrepancy-tp10834p10835.html

On 06/21/2005 03:12:12 PM, [hidden email] wrote:

>
> I'm having problems compiling the following lines of code with 0.3.9.
>
>       typedef
> QuantLib::GenericLowDiscrepancy<QuantLib::RamdomizedLDS<QuantLib::SobolRsg,
>
> QuantLib::RandomSequenceGenerator<MersenneTwisterUniformRng> >,
>
> QuantLib::InverseCumulativeNormal>  GaussianRLDSCumulative;
>
>       GaussianRLDSCumulative::rsg_type gaussQuasiSeqGen2 =
>
> GaussianRLDSCumulative::make_sequence_generator(2*mTimeSteps,0);

Haavard,
        I managed to compile the above once I added the 'QuantLib::'  
qualification before the MersenneTwisterUniformRng class. Does the  
problem persist after doing this? What compiler are you using?

Later,
        Luigi


----------------------------------------

Flon's Law:
         There is not now, and never will be, a language in
         which it is the least bit difficult to write bad programs.