Skip to content
Snippets Groups Projects
Commit d4fe5c87 authored by Joseph Ramsay's avatar Joseph Ramsay
Browse files

Re #20718 Actually fixed float format problem in ExponentialCorrection

parent 24763bce
No related branches found
No related tags found
No related merge requests found
...@@ -33,8 +33,8 @@ Usage ...@@ -33,8 +33,8 @@ Usage
ws_divide = ExponentialCorrection(InputWorkspace=ws,C0=2.0,C1=1.0,Operation="Divide") ws_divide = ExponentialCorrection(InputWorkspace=ws,C0=2.0,C1=1.0,Operation="Divide")
ws_multiply = ExponentialCorrection(InputWorkspace=ws,C0=2.0,C1=1.0,Operation="Multiply") ws_multiply = ExponentialCorrection(InputWorkspace=ws,C0=2.0,C1=1.0,Operation="Multiply")
print("The first Y value after divide correction is: {:.11f}".format(ws_divide.dataY(0)[1])) print("The first Y value after divide correction is: {:.11e}".format(ws_divide.dataY(0)[1]))
print("The first Y value after multiply correction is: {:.11f}".format(ws_multiply.dataY(0)[1])) print("The first Y value after multiply correction is: {:.11e}".format(ws_multiply.dataY(0)[1]))
Output: Output:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment