Skip to content

Commit

Permalink
fixing a typo that breaks bools in translate tests (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
oelbert authored Oct 10, 2024
1 parent 0f1644c commit e17539d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ndsl/stencils/testing/translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def make_storage_data_input_vars(self, inputs, storage_vars=None, dict_4d=True):
if type(inputs_in[p]) in [np.int64, np.int32]:
inputs_out[p] = int(inputs_in[p])
elif type(inputs_in[p]) is bool:
inputs_out[p] == inputs_in[p]
inputs_out[p] = inputs_in[p]
else:
inputs_out[p] = Float(inputs_in[p])
for d, info in storage_vars.items():
Expand Down

0 comments on commit e17539d

Please sign in to comment.