Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
R
R - Life Insurance Contracts
Commits
ae034a78
Commit
ae034a78
authored
Dec 08, 2021
by
Reinhold Kainhofer
Browse files
vmGlgExample.generate: Also add the absTolerance parameter with value 0.01 by default
parent
995718e1
Changes
1
Show whitespace changes
Inline
Side-by-side
R/showVmGlgExamples.R
View file @
ae034a78
...
...
@@ -364,7 +364,7 @@ vmGlgExample.generateTest = function(contract, prf = 10, t = 10, t_prf = 12, ...
names
(
cmpvals
),
sprintf
(
"%.2f"
,
cmpvals
),
sep
=
" = "
,
collapse
=
", \n\t\t"
);
code
=
paste0
(
code
,
"\t\t"
,
check.str
,
"\n\t);\n"
);
code
=
paste0
(
code
,
"\t\t"
,
check.str
,
"
,\n\tabsTolerance = 0.01
\n\t);\n"
);
code
=
paste0
(
code
,
"})\n"
);
cat
(
code
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment