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
f54b9805
Commit
f54b9805
authored
Mar 11, 2021
by
Jose Borreguero
Browse files
Refs #30857 cling clang
parent
d81c16c9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Framework/Crystal/src/PredictSatellitePeaks.cpp
View file @
f54b9805
...
...
@@ -36,8 +36,8 @@ using namespace Mantid::Kernel;
namespace
Crystal
{
// handy shortcuts
using
Mantid
::
Geometry
::
IPeak_uptr
;
using
Mantid
::
DataObjects
::
Peak_uptr
;
using
Mantid
::
Geometry
::
IPeak_uptr
;
DECLARE_ALGORITHM
(
PredictSatellitePeaks
)
...
...
@@ -363,7 +363,7 @@ void PredictSatellitePeaks::predictOffsets(
continue
;
IPeak_uptr
iPeak
=
Peaks
->
createPeak
(
Qs
,
1
);
Peak_uptr
peak
(
static_cast
<
DataObjects
::
Peak
*>
(
iPeak
.
release
()));
Peak_uptr
peak
(
static_cast
<
DataObjects
::
Peak
*>
(
iPeak
.
release
()));
peak
->
setGoniometerMatrix
(
goniometer
);
...
...
@@ -436,7 +436,7 @@ void PredictSatellitePeaks::predictOffsetsWithCrossTerms(
continue
;
IPeak_uptr
iPeak
(
Peaks
->
createPeak
(
Qs
,
1
));
Peak_uptr
peak
(
static_cast
<
DataObjects
::
Peak
*>
(
iPeak
.
release
()));
Peak_uptr
peak
(
static_cast
<
DataObjects
::
Peak
*>
(
iPeak
.
release
()));
peak
->
setGoniometerMatrix
(
goniometer
);
...
...
Framework/DataObjects/src/PeaksWorkspace.cpp
View file @
f54b9805
...
...
@@ -391,7 +391,7 @@ PeaksWorkspace::peakInfo(const Kernel::V3D &qFrame, bool labCoords) const {
try
{
IPeak_uptr
iPeak
=
createPeak
(
Qlab
);
Peak_uptr
peak
(
static_cast
<
DataObjects
::
Peak
*>
(
iPeak
.
release
()));
Peak_uptr
peak
(
static_cast
<
DataObjects
::
Peak
*>
(
iPeak
.
release
()));
if
(
sample
().
hasOrientedLattice
())
{
...
...
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