Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
1a377909
Commit
1a377909
authored
Jan 10, 2018
by
Samuel Jackson
Browse files
Refs #20441 Apply clang-format patch
parent
a6f561ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Framework/DataObjects/test/PeakTest.h
View file @
1a377909
...
...
@@ -579,8 +579,8 @@ public:
p
.
setIntensity
(
intensity
);
p
.
setSigmaIntensity
(
sigma
);
const
double
expectedResult
{
0.0
};
const
double
tolerance
{
1e-10
};
const
double
expectedResult
{
0.0
};
const
double
tolerance
{
1e-10
};
TS_ASSERT_DELTA
(
p
.
getIntensityOverSigma
(),
expectedResult
,
tolerance
);
}
...
...
qt/widgets/sliceviewer/src/QPeaksTableModel.cpp
View file @
1a377909
...
...
@@ -174,12 +174,8 @@ QPeaksTableModel::QPeaksTableModel(
},
[](
const
IPeak
&
peak
)
{
return
QVariant
(
peak
.
getRow
());
},
[](
const
IPeak
&
peak
)
{
return
QVariant
(
peak
.
getCol
());
},
[](
const
IPeak
&
peak
)
{
return
QVariant
(
peak
.
getQLabFrame
().
norm
());
},
[](
const
IPeak
&
peak
)
{
return
QVariant
(
peak
.
getQSampleFrame
().
norm
());
},
[](
const
IPeak
&
peak
)
{
return
QVariant
(
peak
.
getQLabFrame
().
norm
());
},
[](
const
IPeak
&
peak
)
{
return
QVariant
(
peak
.
getQSampleFrame
().
norm
());
},
};
const
auto
hklPrec
=
m_hklPrec
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment