| 
					
	
	 Hi, 
I guess there is a little bug in swaptionvolcube2.cpp. Starting in line 95 we have 
        return boost::shared_ptr<SmileSection>(new 
InterpolatedSmileSection<Linear>(optionTime, strikes, stdDevs, atmVol)); but this should be 
        return boost::shared_ptr<SmileSection>(new 
InterpolatedSmileSection<Linear>(optionTime, strikes, stdDevs, atmForward)); Kind regards 
Peter 
------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev  | 
			
| 
					
	
	 
		Peter,
 
				it's fixed now. Thanks for the heads-up. Luigi On Thu, Mar 7, 2013 at 5:26 PM, Peter Caspers <[hidden email]> wrote: > Hi, > > I guess there is a little bug in swaptionvolcube2.cpp. Starting in line 95 > we have > > > return boost::shared_ptr<SmileSection>(new > InterpolatedSmileSection<Linear>(optionTime, > strikes, > stdDevs, > atmVol)); > > but this should be > > return boost::shared_ptr<SmileSection>(new > InterpolatedSmileSection<Linear>(optionTime, > strikes, > stdDevs, > atmForward)); > > Kind regards > Peter > > ------------------------------------------------------------------------------ > Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester > Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the > endpoint security space. For insight on selecting the right partner to > tackle endpoint security challenges, access the full report. > http://p.sf.net/sfu/symantec-dev2dev > _______________________________________________ > QuantLib-dev mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/quantlib-dev > ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev  | 
			
| Free forum by Nabble | Edit this page | 
	
	
		