From ed4e78990288c9813b4b96ccd2780a55dd0d7704 Mon Sep 17 00:00:00 2001 From: hrocho Date: Tue, 9 Oct 2018 13:02:49 +0200 Subject: [PATCH] missing config in dedx_variance --- catima.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catima.cpp b/catima.cpp index 987f7d5..5032a03 100644 --- a/catima.cpp +++ b/catima.cpp @@ -58,7 +58,7 @@ double domega2dx(Projectile &p, double T, const Material &mat, const Config &c){ auto t= mat.get_element(i); w = mat.weight_fraction(i); p.T = T; - sum += w*dedx_variance(p,t); + sum += w*dedx_variance(p,t,c); } return sum; }