Skip to content

Commit

Permalink
misc: Add decimal point to TB
Browse files Browse the repository at this point in the history
  • Loading branch information
georgebisbas committed Jul 20, 2023
1 parent ebe91fe commit cfc2710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devito/tools/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,4 +301,4 @@ def humanbytes(B):
elif GB <= B < TB:
return '%.1f GB' % round(B / GB, 1)
elif TB <= B:
return '%.1f TB' % round(B / TB, 1)
return '%.2f TB' % round(B / TB, 1)

0 comments on commit cfc2710

Please sign in to comment.