mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Update openmc/stats/multivariate.py
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
6806f73bd4
commit
8b62ee3635
1 changed files with 1 additions and 1 deletions
|
|
@ -812,7 +812,7 @@ def spherical_uniform(r_outer, r_inner=0.0, thetas=(0., pi), phis=(0., 2*pi),
|
|||
"""
|
||||
|
||||
r_dist = PowerLaw(r_inner, r_outer, 2)
|
||||
cos_thetas_dist = Uniform(np.cos(thetas[0]), np.cos(thetas[1]))
|
||||
cos_thetas_dist = Uniform(cos(thetas[1]), cos(thetas[0]))
|
||||
phis_dist = Uniform(phis[0], phis[1])
|
||||
|
||||
return SphericalIndependent(r_dist, cos_thetas_dist, phis_dist, origin)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue