Skip to content
Snippets Groups Projects
Commit b7ca5249 authored by Harry Jeffery's avatar Harry Jeffery
Browse files

Refs #11020 Fix typecast inside CutMD

parent 0357a68d
No related branches found
No related tags found
No related merge requests found
......@@ -128,10 +128,10 @@ class CutMD(DataProcessorAlgorithm):
if not isinstance(projection_table, ITableWorkspace):
I = np.identity(3)
return (I[0, :], I[1, :], I[2, :])
u = np.array(str(projection_table.cell("value", 0)).split(","))
v = np.array(str(projection_table.cell("value", 1)).split(","))
u = np.array(map(float,str(projection_table.cell("value", 0)).split(",")))
v = np.array(map(float,str(projection_table.cell("value", 1)).split(",")))
if projection_table.rowCount() >= 3:
w = np.array(str(projection_table.cell("value", 2)).split(","))
w = np.array(map(float,str(projection_table.cell("value", 2)).split(",")))
else:
w = np.cross(v,u)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment