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:
commit
efbd2b077b
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user