lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 3ef8cde 1/2: Fix defect introduced 20081028T0


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 3ef8cde 1/2: Fix defect introduced 20081028T0325Z: default IRR should be -100%
Date: Wed, 14 Feb 2018 09:51:51 -0500 (EST)

branch: master
commit 3ef8cde6cde694e4a8d18dd0553a8b22115fdbe7
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Fix defect introduced 20081028T0325Z: default IRR should be -100%
---
 ledger_text_formats.cpp | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/ledger_text_formats.cpp b/ledger_text_formats.cpp
index 9e5a7ef..f82045b 100644
--- a/ledger_text_formats.cpp
+++ b/ledger_text_formats.cpp
@@ -198,10 +198,10 @@ 
calculation_summary_formatter::calculation_summary_formatter
             }
         else
             {
-            unclean.IrrCsvCurrInput.resize(length);
-            unclean.IrrCsvGuarInput.resize(length);
-            unclean.IrrDbCurrInput .resize(length);
-            unclean.IrrDbGuarInput .resize(length);
+            unclean.IrrCsvCurrInput.resize(length, -1.0);
+            unclean.IrrCsvGuarInput.resize(length, -1.0);
+            unclean.IrrDbCurrInput .resize(length, -1.0);
+            unclean.IrrDbGuarInput .resize(length, -1.0);
             }
         }
 }
@@ -473,8 +473,8 @@ void PrintCellTabDelimited
         }
     else
         {
-        unclean.IrrCsvCurrInput.resize(max_length);
-        unclean.IrrDbCurrInput .resize(max_length);
+        unclean.IrrCsvCurrInput.resize(max_length, -1.0);
+        unclean.IrrDbCurrInput .resize(max_length, -1.0);
         }
 
     std::ofstream os(file_name.c_str(), ios_out_app_binary());



reply via email to

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