Skip to content

Commit 95ad9da

Browse files
damienbarkerjenkins
authored andcommitted
QPR-12100 more speed up
1 parent 03e9a4e commit 95ad9da

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

QuantExt/test/crossassetmodel.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2299,7 +2299,7 @@ BOOST_DATA_TEST_CASE(testIrFxInfCrComMartingaleProperty,
22992299
BOOST_TEST_MESSAGE("get Euler state process");
23002300
boost::shared_ptr<StochasticProcess> process2 = d.modelEuler->stateProcess();
23012301

2302-
Size n = 10000; // number of paths
2302+
Size n = 5000; // number of paths
23032303
Size seed = 18; // rng seed
23042304
Time T = 2.0; // maturity of payoff
23052305
Time T2 = 20.0; // zerobond maturity
@@ -2456,7 +2456,7 @@ BOOST_DATA_TEST_CASE(testIrFxInfCrComMartingaleProperty,
24562456

24572457
// a bit higher than for plain zero bond , since we look at indexed zero
24582458
// bonds, too
2459-
Real tol1 = 3.0E-4; // EXACT
2459+
Real tol1 = 5.0E-4; // EXACT
24602460
Real tol2 = 14.0E-4; // EULER
24612461

24622462
Real ev = d.eurYts->discount(T2);

0 commit comments

Comments
 (0)