1
0
Fork 0
mirror of https://github.com/gwm17/catima.git synced 2024-11-22 18:28:51 -05:00

missing config in dedx_variance

This commit is contained in:
hrocho 2018-10-09 13:02:49 +02:00
parent f768dab37b
commit ed4e789902

View File

@ -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;
}