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

Fix PR timing for Ncomp > 1

parent 5e86a117
No related branches found
No related tags found
No related merge requests found
...@@ -251,7 +251,7 @@ int main() ...@@ -251,7 +251,7 @@ int main()
}; };
auto SAFT = build_PCSAFT(Ncomp); auto SAFT = build_PCSAFT(Ncomp);
std::valarray<double> Tc_K = { 369.89 }, pc_Pa = { 4251200.0 }, acentric = { 0.1521 }; std::valarray<double> Tc_K(369.89, Ncomp), pc_Pa(4251200.0, Ncomp), acentric(0.1521, Ncomp);
auto PR = canonical_PR(Tc_K, pc_Pa, acentric); auto PR = canonical_PR(Tc_K, pc_Pa, acentric);
outputs.push_back(one_deriv<0, 0>(thing, Ncomp, taus, deltas, vdW, "vdW", Ts, rhos)); append_Ncomp(); outputs.push_back(one_deriv<0, 0>(thing, Ncomp, taus, deltas, vdW, "vdW", Ts, rhos)); append_Ncomp();
......
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