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
35b6d6c0
Commit
35b6d6c0
authored
14 years ago
by
Peterson, Peter
Browse files
Options
Downloads
Patches
Plain Diff
Trying to make windows build work again. Refs #2502.
parent
6d5ef1c6
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
Code/Mantid/Framework/Algorithms/src/Unwrap2.cpp
+4
-3
4 additions, 3 deletions
Code/Mantid/Framework/Algorithms/src/Unwrap2.cpp
with
4 additions
and
3 deletions
Code/Mantid/Framework/Algorithms/src/Unwrap2.cpp
+
4
−
3
View file @
35b6d6c0
...
...
@@ -169,7 +169,7 @@ void Unwrap2::exec()
}
PARALLEL_FOR2
(
m_inputWS
,
outputWS
)
for
(
size_
t
workspaceIndex
=
0
;
workspaceIndex
<
m_numberOfSpectra
;
workspaceIndex
++
)
for
(
unsigned
in
t
workspaceIndex
=
0
;
workspaceIndex
<
m_numberOfSpectra
;
workspaceIndex
++
)
{
PARALLEL_START_INTERUPT_REGION
// get the total flight path
...
...
@@ -188,6 +188,7 @@ void Unwrap2::exec()
// fix the x-axis
size_t
pivot
=
this
->
unwrapX
(
m_inputWS
->
readX
(
workspaceIndex
),
outputWS
->
dataX
(
workspaceIndex
),
Ld
);
pivot
++
;
// one-off difference between x and y
// fix the counts using the pivot point
const
MantidVec
&
yIn
=
m_inputWS
->
readY
(
workspaceIndex
);
...
...
@@ -240,8 +241,8 @@ void Unwrap2::execEvent()
outW
->
sortAll
(
Mantid
::
DataObjects
::
TOF_SORT
,
m_progress
);
// do the actual work
PARALLEL_FOR2
(
m_inputWS
,
outW
)
for
(
size_
t
workspaceIndex
=
0
;
workspaceIndex
<
m_numberOfSpectra
;
workspaceIndex
++
)
PARALLEL_FOR2
(
m_inputWS
,
outW
)
for
(
unsigned
in
t
workspaceIndex
=
0
;
workspaceIndex
<
m_numberOfSpectra
;
workspaceIndex
++
)
{
PARALLEL_START_INTERUPT_REGION
std
::
size_t
numEvents
=
outW
->
getEventList
(
workspaceIndex
).
getNumberEvents
();
...
...
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