[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 36d5a6b 1/9: Remove unnecessary static_cast
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 36d5a6b 1/9: Remove unnecessary static_cast |
Date: |
Sat, 17 Feb 2018 11:13:04 -0500 (EST) |
branch: master
commit 36d5a6bd447a96cf23c18be2b4901e085e68c22d
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Remove unnecessary static_cast
---
ledger_invariant.cpp | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/ledger_invariant.cpp b/ledger_invariant.cpp
index 6ea6c0b..3d64cb5 100644
--- a/ledger_invariant.cpp
+++ b/ledger_invariant.cpp
@@ -1277,7 +1277,7 @@ void LedgerInvariant::CalculateIrrs(Ledger const&
LedgerValues)
(Outlay
,Guar_.CSVNet
,IrrCsvGuarInput
- ,static_cast<unsigned int>(Guar_.LapseYear)
+ ,Guar_.LapseYear
,max_length
,irr_precision_
);
@@ -1286,7 +1286,7 @@ void LedgerInvariant::CalculateIrrs(Ledger const&
LedgerValues)
(Outlay
,Guar_.EOYDeathBft
,IrrDbGuarInput
- ,static_cast<unsigned int>(Guar_.LapseYear)
+ ,Guar_.LapseYear
,max_length
,irr_precision_
);
@@ -1295,7 +1295,7 @@ void LedgerInvariant::CalculateIrrs(Ledger const&
LedgerValues)
(Outlay
,Curr_.CSVNet
,IrrCsvCurrInput
- ,static_cast<unsigned int>(Curr_.LapseYear)
+ ,Curr_.LapseYear
,max_length
,irr_precision_
);
@@ -1304,7 +1304,7 @@ void LedgerInvariant::CalculateIrrs(Ledger const&
LedgerValues)
(Outlay
,Curr_.EOYDeathBft
,IrrDbCurrInput
- ,static_cast<unsigned int>(Curr_.LapseYear)
+ ,Curr_.LapseYear
,max_length
,irr_precision_
);
@@ -1337,7 +1337,7 @@ void LedgerInvariant::CalculateIrrs(Ledger const&
LedgerValues)
(Outlay
,Guar0.CSVNet
,IrrCsvGuar0
- ,static_cast<unsigned int>(Guar0.LapseYear)
+ ,Guar0.LapseYear
,max_length
,irr_precision_
);
@@ -1346,7 +1346,7 @@ void LedgerInvariant::CalculateIrrs(Ledger const&
LedgerValues)
(Outlay
,Guar0.EOYDeathBft
,IrrDbGuar0
- ,static_cast<unsigned int>(Guar0.LapseYear)
+ ,Guar0.LapseYear
,max_length
,irr_precision_
);
@@ -1355,7 +1355,7 @@ void LedgerInvariant::CalculateIrrs(Ledger const&
LedgerValues)
(Outlay
,Curr0.CSVNet
,IrrCsvCurr0
- ,static_cast<unsigned int>(Curr0.LapseYear)
+ ,Curr0.LapseYear
,max_length
,irr_precision_
);
@@ -1364,7 +1364,7 @@ void LedgerInvariant::CalculateIrrs(Ledger const&
LedgerValues)
(Outlay
,Curr0.EOYDeathBft
,IrrDbCurr0
- ,static_cast<unsigned int>(Curr0.LapseYear)
+ ,Curr0.LapseYear
,max_length
,irr_precision_
);
- [lmi-commits] [lmi] master updated (422cd51 -> 5e372c6), Greg Chicares, 2018/02/17
- [lmi-commits] [lmi] master 36d5a6b 1/9: Remove unnecessary static_cast,
Greg Chicares <=
- [lmi-commits] [lmi] master 513e891 4/9: Improve documentation, Greg Chicares, 2018/02/17
- [lmi-commits] [lmi] master ca32be5 3/9: Find a root of the zero polynomial, Greg Chicares, 2018/02/17
- [lmi-commits] [lmi] master 3781a93 5/9: Refactor for rearrangeability, Greg Chicares, 2018/02/17
- [lmi-commits] [lmi] master 0ae54b4 2/9: Refactor for terseness, Greg Chicares, 2018/02/17
- [lmi-commits] [lmi] master b710396 8/9: Don't assume--assert, Greg Chicares, 2018/02/17
- [lmi-commits] [lmi] master 3f1dd88 7/9: Consolidate and improve documentation, Greg Chicares, 2018/02/17
- [lmi-commits] [lmi] master 060aecf 6/9: Rearrange for comprehensibility, Greg Chicares, 2018/02/17
- [lmi-commits] [lmi] master 5e372c6 9/9: Perform ledger IRR initialization in one place only, Greg Chicares, 2018/02/17