Skip to content

Commit

Permalink
Update yt/frontends/ytdata/io.py
Browse files Browse the repository at this point in the history
Co-authored-by: Clément Robert <[email protected]>
  • Loading branch information
chrishavlin and neutrinoceros authored Jul 18, 2023
1 parent bb92bf6 commit 9a96641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt/frontends/ytdata/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def _read_particle_data_file(self, data_file, ptf, selector):
continue

for field in field_list:
data = f[ptype][field][mask].astype("float64")
data = f[ptype][field][mask].astype("float64", copy=False)
data_return[(ptype, field)] = data

return data_return
Expand Down

0 comments on commit 9a96641

Please sign in to comment.