Skip to content

Commit

Permalink
[skip ci] Apply formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
shimwell authored and github-actions[bot] committed Apr 8, 2024
1 parent bcea290 commit a18afe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openmc_plasma_source/tokamak_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def sample_sources(self):
(neutron source density) and .RZ (coordinates)
"""
# create a sample of (a, alpha) coordinates
rng = np.random.default_rng(self.sample_seed)
rng = np.random.default_rng(self.sample_seed)
a = rng.random(self.sample_size) * self.minor_radius
alpha = rng.random(self.sample_size) * 2 * np.pi

Expand Down

0 comments on commit a18afe0

Please sign in to comment.