Skip to content

Commit

Permalink
Update util.py
Browse files Browse the repository at this point in the history
  • Loading branch information
shenyulu committed Dec 10, 2023
1 parent a5b8ded commit ad33707
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ def round_sf_np_new(
arr: np.array,
) -> np.array:
"""
Take four significant figures (NEW)
Take Two significant figures (NEW)
"""
return np.array(["{:.4g}".format(num) for num in arr], dtype=float)
return np.array(["{:.2g}".format(num) for num in arr], dtype=float)

0 comments on commit ad33707

Please sign in to comment.