From 8e84ce2965359b9b8b33687e2a067da2e6cffab6 Mon Sep 17 00:00:00 2001 From: Reinhold Kainhofer <reinhold@kainhofer.com> Date: Thu, 12 Jan 2023 11:06:03 +0100 Subject: [PATCH] For annuities, keep the sumInsured constant over the whole deferral period, too. During the deferral period, no payments are made, but formally the sum insured still applies to that period (relevant for costs that apply to the SI). --- R/InsuranceTarif.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/InsuranceTarif.R b/R/InsuranceTarif.R index 0fe1323..ab1cc1b 100644 --- a/R/InsuranceTarif.R +++ b/R/InsuranceTarif.R @@ -511,7 +511,7 @@ InsuranceTarif = R6Class( 0), values$int$l) # start current contract block after deferral period - cf$sumInsured = c(rep(0, deferralPeriod), annuityCF, 0) +# cf$sumInsured = pad0(rep(#c(rep(0, deferralPeriod), annuityCF) # <= TODO!!! } else if (self$tariffType == "terme-fix") { -- GitLab