Skip to content
Snippets Groups Projects
Commit 84759dc7 authored by Dimitar Tasev's avatar Dimitar Tasev
Browse files

Remove ref - a new hope, re #21593

parent ee77b454
No related branches found
No related tags found
No related merge requests found
......@@ -1544,7 +1544,7 @@ createEPPTableWorkspace(const std::vector<EPPTableRow> &rows) {
}
Mantid::DataObjects::Workspace2D_sptr create2DWorkspace123WithMaskedBin(
int numHist, int numBins, int maskedWorkspaceIndex, int maskedBinIndex) {
auto &ws = create2DWorkspace123(numHist, numBins);
auto ws = create2DWorkspace123(numHist, numBins);
ws->flagMasked(maskedWorkspaceIndex, maskedBinIndex);
return ws;
}
......
......@@ -86,7 +86,7 @@ class MatrixWorkspaceDisplay(object):
for i in range(num_rows):
# Appends ONE value from each COLUMN, this is because the final string is being built vertically
# the noqa disables a 'data' variable redefined warning
all_string_rows.append(" ".join([data[i] for data in column_data])) # noqa: F812
all_string_rows.append(" ".join([data[i] for data in column_data])) # noqa: F812
# Finally all rows are joined together with a new line at the end of each row
final_string = "\n".join(all_string_rows)
......
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