usingcoef_type=my_float;// What numerical type to use to initialize the coefficients (actually it doesn't matter since they all get upcasted to my_float)
usingcoef_type=my_float;// What numerical type to use to initialize the coefficients (in the end it doesn't matter since they all get upcasted to my_float)
// Check that the function values are exactly the same
autoar1=model.corr.get_EOS(0).alphar(tau,delta);
autoar2=alphar_Lemmon2009<my_float>(tau,delta);
autodar2=static_cast<double>((ar2-ar1)/ar1);
if(std::abs(dar2)>1e-100){// yes, we have ridiculously accurate values
throwstd::invalid_argument("Function values are not exactly the same");
if(is_propane){
// As the standalone (if we are using propane)
autoar2=alphar_Lemmon2009<my_float>(tau,delta);
autodar2=static_cast<double>((ar2-ar1)/ar1);
if(std::abs(dar2)>1e-100){// yes, we have ridiculously accurate values
throwstd::invalid_argument("Function values are not exactly the same");