diff --git a/Cantera/src/thermo/WaterPropsIAPWSphi.cpp b/Cantera/src/thermo/WaterPropsIAPWSphi.cpp index 5dde4a863..4263ed0ae 100644 --- a/Cantera/src/thermo/WaterPropsIAPWSphi.cpp +++ b/Cantera/src/thermo/WaterPropsIAPWSphi.cpp @@ -14,8 +14,15 @@ #include "WaterPropsIAPWSphi.h" -#include #include +#include + +using std::printf; +using std::sqrt; +using std::log; +using std::exp; +using std::pow; +using std::fabs; /* * Critical Point values in mks units: Note, these aren't used in this @@ -390,8 +397,8 @@ void WaterPropsIAPWSphi::intCheck(double tau, double delta) { double res_dt = phiR_dt(); double nau_dt = phi0_dt(); - printf("nau = %20.12e\t\tres = %20.12e\n", nau, res); - printf("nau_d = %20.12e\t\tres_d = %20.12e\n", nau_d, res_d); + std::printf("nau = %20.12e\t\tres = %20.12e\n", nau, res); + std::printf("nau_d = %20.12e\t\tres_d = %20.12e\n", nau_d, res_d); printf("nau_dd = %20.12e\t\tres_dd = %20.12e\n", nau_dd, res_dd); printf("nau_t = %20.12e\t\tres_t = %20.12e\n", nau_t, res_t); printf("nau_tt = %20.12e\t\tres_tt = %20.12e\n", nau_tt, res_tt);