diff --git a/Code/Mantid/scripts/reduction/instruments/reflectometer/wks_utility.py b/Code/Mantid/scripts/reduction/instruments/reflectometer/wks_utility.py index 98710730a21cd399e148a95fdab6cc39879359bf..da746d403cbdab9f1bd93c8a9b1bb1b0206f9b93 100644 --- a/Code/Mantid/scripts/reduction/instruments/reflectometer/wks_utility.py +++ b/Code/Mantid/scripts/reduction/instruments/reflectometer/wks_utility.py @@ -776,10 +776,10 @@ def applySF(InputWorkspace, print '--> Found a perfect match' - a = float(getFieldValue(sfFactorTable[i][6])) - b = float(getFieldValue(sfFactorTable[i][7])) - a_error = float(getFieldValue(sfFactorTable[i][8])) - b_error = float(getFieldValue(sfFactorTable[i][9])) + a = float(getFieldValue(sfFactorTable,i,6)) + b = float(getFieldValue(sfFactorTable,i,7)) + a_error = float(getFieldValue(sfFactorTable,i,8)) + b_error = float(getFieldValue(sfFactorTable,i,9)) OutputWorkspace = _applySFtoArray(InputWorkspace, a, b, a_error, b_error)