Commit 9bc64fac authored by Nico  Manthey's avatar Nico Manthey
Browse files

Fix: shorten_sci_num

parent 911ae7e6
......@@ -23,7 +23,7 @@ def shorten_sci_num(num):
0.0000000000184345345 --> '1.84e-11'
1.84345345e-11 --> '1.84e-11'
"""
return '{:.3}'.format(n)
return '{:.3}'.format(num)
class ML_FLUX_GRAPHER():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment