Fixed a compilation error in sunos
This commit is contained in:
parent
f9b5fbcbfa
commit
89a8b49ded
1 changed files with 10 additions and 3 deletions
|
|
@ -14,8 +14,15 @@
|
|||
|
||||
#include "WaterPropsIAPWSphi.h"
|
||||
|
||||
#include <cmath>
|
||||
#include <cstdio>
|
||||
#include <cmath>
|
||||
|
||||
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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue