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 Sep 25, 2024
1 parent e6315d7 commit 26abd0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt/utilities/io_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def _particle_dtypes(self) -> defaultdict[FieldKey, type]:
# field (or its alias if it exists), which is set as int64. Important
# to note that the data type will only be preserved for direct reads
# and any operations will either implicity (via unyt) or explicitly
# convert to float64. Furthermore, float32 and int32 are not supported.
# convert to float64. Furthermore, float32 and int32 are not supported.
dtypes: defaultdict[FieldKey, type] = defaultdict(lambda: np.float64)
for ptype in self.ds.particle_types:
p_index = (ptype, "particle_index")
Expand Down

0 comments on commit 26abd0d

Please sign in to comment.