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
1b7014d0
Commit
1b7014d0
authored
Jan 26, 2017
by
Simon Heybrock
Browse files
Re #18421. Fix issue with PeaksWorkspace after ExperimentInfo change.
parent
eb9fb63a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Framework/DataObjects/src/PeaksWorkspace.cpp
View file @
1b7014d0
...
...
@@ -47,6 +47,8 @@ PeaksWorkspace::PeaksWorkspace()
:
IPeaksWorkspace
(),
peaks
(),
columns
(),
columnNames
(),
m_coordSystem
(
None
)
{
initColumns
();
// PeaksWorkspace does not use the grouping mechanism of ExperimentInfo.
setNumberOfDetectorGroups
(
0
);
}
//---------------------------------------------------------------------------------------------
...
...
@@ -59,6 +61,8 @@ PeaksWorkspace::PeaksWorkspace(const PeaksWorkspace &other)
:
IPeaksWorkspace
(
other
),
peaks
(
other
.
peaks
),
columns
(),
columnNames
(),
m_coordSystem
(
other
.
m_coordSystem
)
{
initColumns
();
// PeaksWorkspace does not use the grouping mechanism of ExperimentInfo.
setNumberOfDetectorGroups
(
0
);
}
//=====================================================================================
...
...
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