Skip to content

Commit

Permalink
Make a int a float (#1998)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbowen-usds committed Oct 12, 2022
1 parent bfd7b08 commit 7d47cdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/data-pipeline/data_pipeline/score/score_narwhal.py
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,7 @@ def _get_percent_of_tract_that_is_dac(self) -> float:
"""
tribal_percent = self.df[
field_names.PERCENT_OF_TRIBAL_AREA_IN_TRACT
].fillna(0)
].fillna(0.0)
return np.where(
self.df[field_names.FINAL_SCORE_N_BOOLEAN],
1.0,
Expand Down

0 comments on commit 7d47cdb

Please sign in to comment.