From a5db456bcfc8f3b5384b0a3dfb75dc43cb6d73fd Mon Sep 17 00:00:00 2001
From: Ian Bell <ian.bell@nist.gov>
Date: Fri, 17 Sep 2021 11:41:51 -0400
Subject: [PATCH] Enable ln(phi) test on linux

---
 src/time_fugcoeff.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/time_fugcoeff.cpp b/src/time_fugcoeff.cpp
index e664e18..b54a5b9 100644
--- a/src/time_fugcoeff.cpp
+++ b/src/time_fugcoeff.cpp
@@ -14,13 +14,14 @@
 #include <numeric>
 
 #include "teqp/models/multifluid.hpp"
+#include "teqp/derivs.hpp"
 
 int main()
 {
     // You may need to change this path to suit your installation
     // Note: forward-slashes are recommended.
-    std::string path = "C:/Program Files (x86)/REFPROP";
-    std::string DLL_name = "REFPRP64.dll";
+    std::string path = std::getenv("RPPREFIX");
+    std::string DLL_name = "";
 
     // Load the shared library and set up the fluid
     std::string err;
-- 
GitLab