Skip to content

Commit

Permalink
Another error is needed
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhbell committed Sep 7, 2023
1 parent d6cacec commit 92515dc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/teqp/models/saft/polar_terms.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -934,6 +934,9 @@ class MultipolarContributionGrayGubbins {
// The packing fraction is defined by eta = pi/6*rho^*, so use the (temperature-dependent) eta to obtain rho^*
rhostar = forceeval(packing_fraction/(static_cast<double>(EIGEN_PI)/6.0));
}
else{
throw teqp::InvalidArgument("The method used to determine rho^* is invalid");
}
return rhostar;
}

Expand Down

0 comments on commit 92515dc

Please sign in to comment.