Skip to content

Commit e1bd19c

Browse files
committed
Bugfix: Set digits=8 in formatnum, in accordance with the README file
1 parent 3d4dd40 commit e1bd19c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MiniPy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def set_symdiff(itr0, itr1):
6969
return s0.symmetric_difference(s1)
7070

7171

72-
def formatnum(num, digits, scientificNotation=None):
72+
def formatnum(num, digits=8, scientificNotation=None):
7373

7474
def normalFormatting(num, digits):
7575
return ('{:.%df}' % digits).format(num)

0 commit comments

Comments
 (0)