Skip to content

Commit

Permalink
Update flowpm/raytracing.py
Browse files Browse the repository at this point in the history
dtype changed

Co-authored-by: Francois Lanusse <[email protected]>
  • Loading branch information
dlanzieri and EiffL authored Apr 28, 2021
1 parent b2e2d0e commit f65b113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flowpm/raytracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def random_2d_shift():
I = np.zeros(3)
facx = np.random.uniform(0, 1)
facy = np.random.uniform(0, 1)
xyshifts = [np.asarray([facx, facy, 0], dtype=float)]
xyshifts = [np.asarray([facx, facy, 0], dtype=np.float32)]
return I + xyshifts


Expand Down

0 comments on commit f65b113

Please sign in to comment.