Skip to content
Snippets Groups Projects
Commit 063e45c6 authored by Ian Bell's avatar Ian Bell
Browse files

Fix all the normal double precision stuff

parent e325aabe
No related branches found
No related tags found
No related merge requests found
Subproject commit 39471f3ba1cc6c3846c80aeec90a07787be195b0
Subproject commit ec2a72739b884032e7bbd87a9b06aa0dadfbe372
......@@ -141,7 +141,7 @@ public:
throw std::invalid_argument("Sizes do not match");
}
auto b = get_b(T, molefrac);
auto Psiminus = -1.0*log(1.0 - b * rho);
auto Psiminus = -log(1.0 - b * rho);
auto Psiplus = log((Delta1 * b * rho + 1.0) / (Delta2 * b * rho + 1.0)) / (b * (Delta1 - Delta2));
auto val = Psiminus - get_a(T, molefrac) / (Ru * T) * Psiplus;
return forceeval(val);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment