Commit 12610b39 authored by Zhang, Chen's avatar Zhang, Chen
Browse files

fix the second order efficiecny calculation

parent a2e5167a
......@@ -547,7 +547,7 @@ std::vector<double> CalculatePlaczek::getEfficiencyCoefficient2() {
const double LambdaD = getProperty("LambdaD");
for (auto x : xLambda) {
x /= -LambdaD;
double eps1 = x * exp(x) / (1.0 - exp(-x));
double eps1 = x * exp(x) / (1.0 - exp(x));
eps2.emplace_back((-x - 2.0) * eps1);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment