Skip to content
Snippets Groups Projects
Commit ea8bdb36 authored by Moore's avatar Moore
Browse files

clang-format fix re #17247

parent df690e5e
No related branches found
No related tags found
No related merge requests found
...@@ -263,7 +263,7 @@ public: ...@@ -263,7 +263,7 @@ public:
// The expected result // The expected result
const auto expected = createExpectedResults(true, false); const auto expected = createExpectedResults(true, false);
Mantid::API::WorkspaceHelpers::makeDistribution(expected); Mantid::API::WorkspaceHelpers::makeDistribution(expected);
TS_ASSERT(workspacesEqual(expected, outputWS, 0.1, true)); TS_ASSERT(workspacesEqual(expected, outputWS, 0.1, true));
} }
...@@ -280,11 +280,11 @@ private: ...@@ -280,11 +280,11 @@ private:
auto table = boost::make_shared<Mantid::DataObjects::TableWorkspace>(); auto table = boost::make_shared<Mantid::DataObjects::TableWorkspace>();
table->addColumn("double", "X"); table->addColumn("double", "X");
table->addColumn("double", "Y"); table->addColumn("double", "Y");
double width = 0.1; double width = 0.1;
for (int i = 0; i < 100; i++) { for (int i = 0; i < 100; i++) {
const auto x = static_cast<double>(i) * width; const auto x = static_cast<double>(i) * width;
Mantid::API::TableRow row = table->appendRow(); Mantid::API::TableRow row = table->appendRow();
row << x << (isDistribution ? background(x)/width :background(x)); row << x << (isDistribution ? background(x) / width : background(x));
} }
return table; return table;
} }
......
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