Skip to content

Commit

Permalink
increase default precision for chi-square, etc from 3 to 5
Browse files Browse the repository at this point in the history
  • Loading branch information
newville committed Feb 11, 2018
1 parent 1affbb9 commit acf2cbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lmfit/printfuncs.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def alphanumeric_sort(s, _nsre=re.compile('([0-9]+)')):
for text in re.split(_nsre, s)]


def getfloat_attr(obj, attr, fmt='%.3f'):
def getfloat_attr(obj, attr, fmt='%.5f'):
"""Format an attribute of an object for printing."""
val = getattr(obj, attr, None)
if val is None:
Expand Down

0 comments on commit acf2cbc

Please sign in to comment.