Skip to content

Commit

Permalink
changed 100//nbins to (100//nbins) in string statement
Browse files Browse the repository at this point in the history
  • Loading branch information
stoiveroberts committed Nov 21, 2022
1 parent ed1353c commit ad450a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anuga/abstract_2d_finite_volumes/neighbour_mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,7 @@ def statistics(self, nbins=10):

N = len(areas)
if N > 10:
str += ' Percentiles (%g percent):\n' % 100//nbins
str += ' Percentiles (%g percent):\n' % (100//nbins)
areas = areas.tolist()
areas.sort()

Expand Down

0 comments on commit ad450a9

Please sign in to comment.