Test suit broken? termstructures.cpp

Posted by Lapin on
URL: http://quantlib.414.s1.nabble.com/Test-suit-broken-termstructures-cpp-tp1249.html

Hi,

The following code does not seem to work anymore in 0.8.1
It was taken from termstructures.cpp in the test suit.

        for( int i =0 ; i < DepoNumber ; ++i )
                instruments[i] = boost::shared_ptr<RateHelper>(
                new DepositRateHelper( Rate[i],
                               Maturity[i],
                               fixingDays, calendar,
                               swFixedLegConv, true,
                               fixingDays, depositDayCounter)) ;

The Rate argument does not seems to be recognized as a good argument for the DepositRateHelper constructor since Quantlib is waiting a const Handle<Quote>&.