From 6a4b08375a399c4294e3e02081c0afdf495db3e1 Mon Sep 17 00:00:00 2001 From: Alex Buts Date: Wed, 16 Jul 2014 18:43:00 +0100 Subject: [PATCH] refs #9937 Typos in MDWSTransform.cpp --- Code/Mantid/Framework/MDEvents/src/MDWSTransform.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Code/Mantid/Framework/MDEvents/src/MDWSTransform.cpp b/Code/Mantid/Framework/MDEvents/src/MDWSTransform.cpp index d5df046ba9c9..f768e5b72ff5 100644 --- a/Code/Mantid/Framework/MDEvents/src/MDWSTransform.cpp +++ b/Code/Mantid/Framework/MDEvents/src/MDWSTransform.cpp @@ -44,7 +44,7 @@ std::vector MDWSTransform::getTransfMatrix(MDEvents::MDWSDescription &Ta return transf; } -/** Method analyzes the state of UB matrix and goniometer attached to the workspace and desides, which target +/** Method analyzes the state of UB matrix and goniometer attached to the workspace and decides, which target * coordinate system these variables identify. *Crystal Frame decided in case if there is UB matrix is present and is not unit matrix *Lab frame -- if goniometer is Unit and UB is unit matrix or not present @@ -303,7 +303,7 @@ void MDWSTransform::setQ3DDimensionsNames(MDEvents::MDWSDescription &TargWSDescr break; } default: - throw(std::invalid_argument(" Unknow or undefined Target Frame ID")); + throw(std::invalid_argument(" Unknown or undefined Target Frame ID")); } dimDirections.resize(3); @@ -350,7 +350,7 @@ void MDWSTransform::setQ3DDimensionsNames(MDEvents::MDWSDescription &TargWSDescr } void MDWSTransform::setModQDimensionsNames(MDEvents::MDWSDescription &TargWSDescription,const std::string &QScaleRequested)const -{ //TODO: nothing meanigful has been done at the moment, should enable scaling if different coord transf modes? +{ //TODO: nothing meaningful has been done at the moment, should enable scaling if different coord transf modes? UNUSED_ARG(TargWSDescription); UNUSED_ARG(QScaleRequested); @@ -409,7 +409,7 @@ CoordScaling MDWSTransform::getQScaling(const std::string &ScID)const { int nScaling = Kernel::Strings::isMember(m_QScalingID,ScID); - if (nScaling<0)throw(std::invalid_argument(" The Q scale with ID: "+ScID+" is unavalible")); + if (nScaling<0)throw(std::invalid_argument(" The Q scale with ID: "+ScID+" is unavailable")); return CoordScaling(nScaling); } @@ -424,7 +424,7 @@ TargetFrame MDWSTransform::getTargetFrame(const std::string &FrameID)const { int nFrame = Kernel::Strings::isMember(m_TargFramesID,FrameID); - if (nFrame<0)throw(std::invalid_argument(" The Target Frame with ID: "+FrameID+" is unavalible")); + if (nFrame<0)throw(std::invalid_argument(" The Target Frame with ID: "+FrameID+" is unavailable")); return TargetFrame(nFrame); }