From bc917cb865c546fcf354a92540383ff8427bead8 Mon Sep 17 00:00:00 2001 From: Ian Bell <ian.bell@nist.gov> Date: Thu, 8 Jul 2021 18:09:35 -0400 Subject: [PATCH] Even more explicit return type --- include/teqp/algorithms/VLE.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/teqp/algorithms/VLE.hpp b/include/teqp/algorithms/VLE.hpp index 346a05b..9367b4d 100644 --- a/include/teqp/algorithms/VLE.hpp +++ b/include/teqp/algorithms/VLE.hpp @@ -138,7 +138,8 @@ auto linsolve(const A &a, const B& b) { } template<class Model, class Scalar, class VecType> -auto get_drhovecdp_Tsat(const Model& model, const Scalar &T, const VecType& rhovecL, const VecType& rhovecV) { +std::tuple< Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic>, Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic>> +get_drhovecdp_Tsat(const Model& model, const Scalar &T, const VecType& rhovecL, const VecType& rhovecV) { //tic = timeit.default_timer(); using id = IsochoricDerivatives<Model, Scalar, VecType>; Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> Hliq = id::build_Psi_Hessian_autodiff(model, T, rhovecL).eval(); -- GitLab