mirror of
https://github.com/gwm17/catima.git
synced 2024-11-26 12:08:52 -05:00
missing config in dedx_variance
This commit is contained in:
parent
f768dab37b
commit
ed4e789902
|
@ -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