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

Fix default size of kmat for PC-SAFT

parent a5e9851c
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ void add_PCSAFT(py::module& m) {
;
auto wPCSAFT = py::class_<PCSAFTMixture>(m, "PCSAFTEOS")
.def(py::init<const std::vector<std::string>&, const Eigen::ArrayXXd&>(), py::arg("names"), py::arg_v("kmat", Eigen::ArrayXXd(2,2).setZero(), "None"))
.def(py::init<const std::vector<std::string>&, const Eigen::ArrayXXd&>(), py::arg("names"), py::arg_v("kmat", Eigen::ArrayXXd(0,0), "None"))
.def(py::init<const std::vector<SAFTCoeffs>&>(), py::arg("coeffs"))
.def("print_info", &PCSAFTMixture::print_info)
.def("max_rhoN", &PCSAFTMixture::max_rhoN<Eigen::ArrayXd>)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment