Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
ea8bdb36
Commit
ea8bdb36
authored
8 years ago
by
Moore
Browse files
Options
Downloads
Patches
Plain Diff
clang-format fix re #17247
parent
df690e5e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Framework/Algorithms/test/CreateUserDefinedBackgroundTest.h
+3
-3
3 additions, 3 deletions
Framework/Algorithms/test/CreateUserDefinedBackgroundTest.h
with
3 additions
and
3 deletions
Framework/Algorithms/test/CreateUserDefinedBackgroundTest.h
+
3
−
3
View file @
ea8bdb36
...
@@ -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
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment