From e5e2ebb8c324d0133f95c939f993bb28036e99c9 Mon Sep 17 00:00:00 2001
From: Gesner Passos <gesner.passos@stfc.ac.uk>
Date: Thu, 3 Oct 2013 12:27:18 +0100
Subject: [PATCH] Correct the FitMethod option for CalculateTransmission

re #8068
---
 Code/Mantid/Framework/Algorithms/src/CalculateTransmission.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Code/Mantid/Framework/Algorithms/src/CalculateTransmission.cpp b/Code/Mantid/Framework/Algorithms/src/CalculateTransmission.cpp
index 3e3b853095d..748a77b63b3 100644
--- a/Code/Mantid/Framework/Algorithms/src/CalculateTransmission.cpp
+++ b/Code/Mantid/Framework/Algorithms/src/CalculateTransmission.cpp
@@ -79,7 +79,7 @@ void CalculateTransmission::init()
     "this can be followed by a comma and more widths and last boundary pairs.\n"
     "Negative width values indicate logarithmic binning.");
 
-  std::vector<std::string> options(7);
+  std::vector<std::string> options(3);
   options[0] = "Linear";
   options[1] = "Log";
   options[2] = "Polynomial"; 
-- 
GitLab