From 0e084c15046c301d823cbac928e38162af0c02c4 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Thu, 6 Sep 2018 15:20:08 -0400 Subject: insurance (_factor_): Permit @yields only * insurance.xml (_factor_): Permit @yields only. Otherwise, using a generator is required with these templates, which is not always desirable. --- core/insurance.xml | 71 ++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 56 insertions(+), 15 deletions(-) (limited to 'core') diff --git a/core/insurance.xml b/core/insurance.xml index eadf1ad..e2e100e 100644 --- a/core/insurance.xml +++ b/core/insurance.xml @@ -126,16 +126,28 @@ There are special considerations for these types of values---% generally, they should not have a value of~$0$ if some sort of calculation condition or lookup is not met, - as that would have the effect of wiping out premium. + as that would have the effect of wiping out premium.\footnote{ + Note that every generator index can be non-zero but still sum up + to a zero yield, + which would trigger this error.} If zero is desired, \tt{@allow-zero@} must be set to \tt{true} to explicitly permit it. -- cgit v1.2.1