Skip to content

Commit

Permalink
Explicit precision
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephWick committed Dec 16, 2023
1 parent 3d2395e commit 6a4178c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diffsmhm/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def gen_mstar_data(
x = rng.uniform(size=npts) * boxsize
y = rng.uniform(size=npts) * boxsize
z = rng.uniform(size=npts) * boxsize
rp_bins = np.logspace(-1, np.log10(rpmax), nbins + 1)
rp_bins = np.logspace(-1, np.log10(rpmax), nbins + 1, dtype=np.float64)

return dict(
log10mstar=log10mstar,
Expand Down

0 comments on commit 6a4178c

Please sign in to comment.