lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] valyuta/002 27c198e 05/14: fixup


From: Greg Chicares
Subject: [lmi-commits] [lmi] valyuta/002 27c198e 05/14: fixup
Date: Thu, 17 Sep 2020 16:27:14 -0400 (EDT)

branch: valyuta/002
commit 27c198e20123f0994500c9f5d0724e501841be83
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    fixup
---
 round_to.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/round_to.hpp b/round_to.hpp
index 3d05712..880d558 100644
--- a/round_to.hpp
+++ b/round_to.hpp
@@ -387,7 +387,7 @@ template<typename RealType>
 inline currency round_to<RealType>::c(RealType r) const
 {
     LMI_ASSERT(decimals() <= 2); // ROUNDING similarly restrict rounding_rules
-    if(std::numeric_limits<currency::data_type>::is_integer())
+    if(std::numeric_limits<currency::data_type>::is_integer)
         {
         // Precondition for casting to integer below:
         LMI_ASSERT(decimals() <= currency::cents_digits);



reply via email to

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