File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ namespace equitycashflow_test {
158158
159159 Real time = vars.localCcyInterestHandle ->timeFromReference (cf->fixingDate ());
160160 Real rf = vars.localCcyInterestHandle ->zeroRate (time, Continuous);
161- Real q = includeDividend ? vars.dividendHandle ->zeroRate (time, Continuous) : 0.0 ;
161+ Real q = includeDividend ? vars.dividendHandle ->zeroRate (time, Continuous) : Real ( 0.0 ) ;
162162 Real eqVol = vars.equityVolHandle ->blackVol (cf->fixingDate (), strike);
163163 Real fxVol = vars.fxVolHandle ->blackVol (cf->fixingDate (), 1.0 );
164164 Real rho = vars.correlationHandle ->value ();
@@ -327,4 +327,4 @@ test_suite* EquityCashFlowTest::suite() {
327327 QUANTLIB_TEST_CASE (&EquityCashFlowTest::testErrorWhenInconsistentMarketDataReferenceDate));
328328
329329 return suite;
330- }
330+ }
You can’t perform that action at this time.
0 commit comments