Skip to content

Commit

Permalink
Re #4303 Fix infinities
Browse files Browse the repository at this point in the history
  • Loading branch information
mdoucet committed Feb 2, 2012
1 parent 19557bd commit 7c5f64f
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -297,13 +297,7 @@ def PyExec(self):
Divide(LHSWorkspace='DataWks',
RHSWorkspace='NormWks',
OutputWorkspace='NormalizedWks')
ReplaceSpecialValues("NormalizedWks",NaNValue=0,NaNError=0, OutputWorkspace="NormalizedWks")

mt1 = mtd['DataWks']
print mt1.readE(0)[:]

mt2 = mtd['NormWks']
print mt2.readE(0)[:]
ReplaceSpecialValues(InputWorkspace="NormalizedWks", NaNValue=0, NaNError=0, InfinityValue=0, InfinityError=0, OutputWorkspace="NormalizedWks")

output_ws = self.getPropertyValue("OutputWorkspace")

Expand Down

0 comments on commit 7c5f64f

Please sign in to comment.