Skip to content
Snippets Groups Projects
Commit 15982972 authored by Kainhofer Reinhold's avatar Kainhofer Reinhold
Browse files

Fix errors

parent 5d86b8d0
No related branches found
No related tags found
No related merge requests found
......@@ -153,7 +153,8 @@ InsuranceContract = R6Class(
params$t = t
params$id = id
# Override with arguments explicitly given
params[names(args)] = args[names(args)]
arguments = list(...)
params[names(arguments)] = arguments[names(arguments)]
params$comment = sprintf("Dynamic increase at time %d to sum %d", t, NewSumInsured)
do.call(self$addBlock, params)
},
......
......@@ -119,7 +119,7 @@ InsuranceContract.ParameterDefaults = list(
ActuarialBases = list(
mortalityTable = NULL,
invalidityTable = NULL,
invalidityEndsContract = FALSE, # Whether a claim for disease ends the contract or not
invalidityEndsContract = TRUE, # Whether a claim for disease ends the contract or not
i = 0.00, # guaranteed interest rate
balanceSheetDate = as.Date("1900-12-31"), # Balance sheet date (for the calculation of the balance sheet reserves, year is irrelevant)
balanceSheetMethod = "30/360",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment