From 3dabf86a30953dd7d5e6d5f7c344da1dd9790b20 Mon Sep 17 00:00:00 2001 From: Eleanor Green Date: Mon, 6 May 2024 22:37:51 +0100 Subject: [PATCH] Precompute annuities --- .../marketmodels/driftcomputation/smmdriftcalculator.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ql/models/marketmodels/driftcomputation/smmdriftcalculator.cpp b/ql/models/marketmodels/driftcomputation/smmdriftcalculator.cpp index 753567c4068..ce0f8e97475 100644 --- a/ql/models/marketmodels/driftcomputation/smmdriftcalculator.cpp +++ b/ql/models/marketmodels/driftcomputation/smmdriftcalculator.cpp @@ -83,6 +83,11 @@ namespace QuantLib { // assuming terminal bond measure // eq 5.4-5.7 const std::vector