Ensure that single valued workspaces can be used in binary operations...
Ensure that single valued workspaces can be used in binary operations regardless of whether they are lhs or rhs. There was a small bug with multiply that meant they would fail on the lhs. Also ensured that the Python binary overloads provide better information if they fail. Re #2215
Showing
- Code/Mantid/Framework/API/inc/MantidAPI/WorkspaceOpOverloads.h 1 addition, 1 deletion...Mantid/Framework/API/inc/MantidAPI/WorkspaceOpOverloads.h
- Code/Mantid/Framework/API/src/WorkspaceOpOverloads.cpp 5 additions, 2 deletionsCode/Mantid/Framework/API/src/WorkspaceOpOverloads.cpp
- Code/Mantid/Framework/Algorithms/src/CommutativeBinaryOperation.cpp 11 additions, 3 deletions...d/Framework/Algorithms/src/CommutativeBinaryOperation.cpp
- Code/Mantid/Framework/Algorithms/src/Multiply.cpp 2 additions, 2 deletionsCode/Mantid/Framework/Algorithms/src/Multiply.cpp
- Code/Mantid/Framework/Algorithms/src/Plus.cpp 1 addition, 1 deletionCode/Mantid/Framework/Algorithms/src/Plus.cpp
- Code/Mantid/Framework/Algorithms/test/CommutativeBinaryOperationTest.h 3 additions, 1 deletion...ramework/Algorithms/test/CommutativeBinaryOperationTest.h
- Code/Mantid/Framework/Algorithms/test/MultiplyTest.h 240 additions, 229 deletionsCode/Mantid/Framework/Algorithms/test/MultiplyTest.h
- Code/Mantid/Framework/PythonAPI/src/WorkspaceProxies.cpp 2 additions, 2 deletionsCode/Mantid/Framework/PythonAPI/src/WorkspaceProxies.cpp
Loading
Please register or sign in to comment