Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 11, 2024
1 parent e7cd0d7 commit 5811cae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions abacusnbody/hod/prepare_sim.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ def prepare_slab(

if len(index_bounds) > 0:
# factor of rands to generate
rand = 100 # to ensure 12 times more randoms than haloes in the octant.
rand = 100 # to ensure 12 times more randoms than haloes in the octant.
rand_N = allpos.shape[0] * rand

# generate randoms in L shape
Expand Down Expand Up @@ -591,7 +591,7 @@ def prepare_slab(
gc.collect()

if halo_lc and len(index_bounds) > 0:
Menv[index_bounds] /= rand_norm
Menv[index_bounds] /= rand_norm

halos['fenv_rank'] = calc_fenv_opt(Menv, mbins, allmasses)

Expand Down

0 comments on commit 5811cae

Please sign in to comment.