From b9507fdd76dbfb521552a33093012ef118792f40 Mon Sep 17 00:00:00 2001
From: Ian Bell <ian.bell@nist.gov>
Date: Tue, 18 Oct 2022 19:45:47 -0400
Subject: [PATCH] Rewrite the terms to make them more legible

---
 include/teqp/ideal_eosterms.hpp | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/include/teqp/ideal_eosterms.hpp b/include/teqp/ideal_eosterms.hpp
index 93fc897..63a98ea 100644
--- a/include/teqp/ideal_eosterms.hpp
+++ b/include/teqp/ideal_eosterms.hpp
@@ -184,7 +184,9 @@ namespace teqp {
         template<typename TType, typename RhoType>
         auto alphaig(const TType& T, const RhoType& rho) const {
             using otype = std::common_type_t <TType, RhoType>;
-            return forceeval(static_cast<otype>(c*((T-T_0)/T-log(T/T_0))));
+            return forceeval(static_cast<otype>(
+                c*((T-T_0)/T-log(T/T_0))
+            ));
         }
     };
 
@@ -205,7 +207,9 @@ namespace teqp {
         template<typename TType, typename RhoType>
         auto alphaig(const TType& T, const RhoType& rho) const {
             using otype = std::common_type_t <TType, RhoType>;
-            return forceeval(static_cast<otype>(c*(pow(T,t)*(1/(t+1)-1/t)-pow(T_0,t+1)/(T*(t+1))+pow(T_0,t)/t)));
+            return forceeval(static_cast<otype>(
+                c*(pow(T,t)*(1/(t+1)-1/t) - pow(T_0,t+1)/(T*(t+1)) + pow(T_0,t)/t)
+            ));
         }
     };
 
-- 
GitLab