Skip to content

Commit

Permalink
random simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Dec 4, 2022
1 parent 8afe9a2 commit d6b4b56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt/data_objects/static_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ def _get_field_info_helper(
# storing this condition before altering it
guessing_type = ftype == "unknown"
if guessing_type:
candidates = [(ft, fn) for ft, fn in self.field_info.keys() if fn == fname]
candidates = [(ft, fn) for ft, fn in self.field_info if fn == fname]

ft: Tuple[str, str] = (ftype, fname)
if ft in self.field_info:
Expand Down

0 comments on commit d6b4b56

Please sign in to comment.