[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 14339a4 2/3: Allow MDB DBO in custom interfac
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 14339a4 2/3: Allow MDB DBO in custom interface number one |
Date: |
Thu, 9 Jan 2020 13:31:18 -0500 (EST) |
branch: master
commit 14339a47f8ac7bd053478dfea8937120aca9c23c
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Allow MDB DBO in custom interface number one
---
custom_io_1.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/custom_io_1.cpp b/custom_io_1.cpp
index ebf9f0a..4761607 100644
--- a/custom_io_1.cpp
+++ b/custom_io_1.cpp
@@ -251,8 +251,8 @@ bool custom_io_1_read(Input& z, std::string const& filename)
("L" == DeathBenefitOption) ? "a"
: ("I" == DeathBenefitOption) ? "b"
// : ("ROP" == DeathBenefitOption) ? "rop" // Generally not offered for
BOLI.
-// DBO3 !! "mdb" might need to be added here
- : throw std::runtime_error(DeathBenefitOption + ": DeathBenefitOption
not in {L,I}.")
+ : ("M" == DeathBenefitOption) ? "mdb"
+ : throw std::runtime_error(DeathBenefitOption + ": DeathBenefitOption
not in {L,I,M}.")
;
// <FaceAmt> and <PremiumAmt> are both specified, so that both can
// be rounded in reasonable ways--even for single-premium products