lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [6564] Refactor for clarity


From: gchicares
Subject: [lmi-commits] [6564] Refactor for clarity
Date: Sun, 8 May 2016 15:17:13 +0000 (UTC)

Revision: 6564
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=6564
Author:   chicares
Date:     2016-05-08 15:17:13 +0000 (Sun, 08 May 2016)
Log Message:
-----------
Refactor for clarity

Modified Paths:
--------------
    lmi/trunk/group_quote_pdf_gen_wx.cpp

Modified: lmi/trunk/group_quote_pdf_gen_wx.cpp
===================================================================
--- lmi/trunk/group_quote_pdf_gen_wx.cpp        2016-05-08 15:03:39 UTC (rev 
6563)
+++ lmi/trunk/group_quote_pdf_gen_wx.cpp        2016-05-08 15:17:13 UTC (rev 
6564)
@@ -765,7 +765,10 @@
             case e_col_supplemental_face_amount:
                 {
                 double const z = invar.TermSpecAmt.at(year);
-                has_suppl_specamt_ = has_suppl_specamt_ || 0.0 != z;
+                if(0.0 != z)
+                    {
+                    has_suppl_specamt_ = true;
+                    }
                 rd.values[col] = '$' + ledger_format(z, f0);
                 if(is_composite)
                     {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]