Skip to content

Commit

Permalink
Fix the issue Refs #11882
Browse files Browse the repository at this point in the history
This only seems to have been an issue with non spectra axis
  • Loading branch information
DanNixon committed Jun 2, 2015
1 parent 7ba6e4b commit 74052cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/API/src/WorkspaceFactory.cpp
Expand Up @@ -132,7 +132,7 @@ void WorkspaceFactoryImpl::initializeFromParent(
const size_t newAxisLength = child->getAxis(i)->length();
const size_t oldAxisLength = parent->getAxis(i)->length();

if (!differentSize || newAxisLength == oldAxisLength) {
if (!differentSize && newAxisLength == oldAxisLength) {
// Need to delete the existing axis created in init above
delete child->m_axes[i];
// Now set to a copy of the parent workspace's axis
Expand Down

0 comments on commit 74052cb

Please sign in to comment.