From c456cf415c7e9e29233029551486d9ae6b60f384 Mon Sep 17 00:00:00 2001
From: Ian Bell <ian.bell@nist.gov>
Date: Thu, 4 Nov 2021 15:45:50 -0400
Subject: [PATCH] Cast back to double

---
 src/sat_Z_accuracy.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sat_Z_accuracy.cpp b/src/sat_Z_accuracy.cpp
index 8d05170..fa68045 100644
--- a/src/sat_Z_accuracy.cpp
+++ b/src/sat_Z_accuracy.cpp
@@ -150,7 +150,7 @@ auto with_teqp_and_boost(const Model &model, double T, double rho, const VECTOR
     calc_output o;
     o.Zexact = static_cast<double>(Zexact);
     o.Zteqp = Zteqp;
-    o.Ar01exact = derL3;
+    o.Ar01exact = static_cast<double>(derL3);
     o.Ar01teqp = Ar01teqp;
 
     // Now do the third-order derivative of alphar, as a further test
-- 
GitLab