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

Merge pull request #46 from hrosiak/domega

missing config in dedx_variance
This commit is contained in:
Andrej Prochazka 2018-10-09 13:04:47 +02:00 committed by GitHub
commit efbd2b077b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,7 +58,7 @@ double domega2dx(Projectile &p, double T, const Material &mat, const Config &c){
auto t= mat.get_element(i); auto t= mat.get_element(i);
w = mat.weight_fraction(i); w = mat.weight_fraction(i);
p.T = T; p.T = T;
sum += w*dedx_variance(p,t); sum += w*dedx_variance(p,t,c);
} }
return sum; return sum;
} }