diff --git a/Framework/API/src/WorkspaceFactory.cpp b/Framework/API/src/WorkspaceFactory.cpp index 9fc696538fbc79b22d12054cd4ae9ab374fa3a10..28d1ef21dc3c70ebaaf9fc2130a28e86cc356caf 100644 --- a/Framework/API/src/WorkspaceFactory.cpp +++ b/Framework/API/src/WorkspaceFactory.cpp @@ -130,7 +130,8 @@ void WorkspaceFactoryImpl::initializeFromParent( for (size_t i = 0; i < parent.m_axes.size(); ++i) { const bool isBinEdge = dynamic_cast<const BinEdgeAxis *const>(parent.m_axes[i]) != nullptr; - const size_t newAxisLength = child.m_axes[i]->length() + (isBinEdge ? 1 : 0); + const size_t newAxisLength = + child.m_axes[i]->length() + (isBinEdge ? 1 : 0); const size_t oldAxisLength = parent.m_axes[i]->length(); if (!differentSize && newAxisLength == oldAxisLength) { diff --git a/Framework/Indexing/inc/MantidIndexing/IndexSet.h b/Framework/Indexing/inc/MantidIndexing/IndexSet.h index 91e88ca7a1dcd91e4bd05ebe10237cca5701dfba..ed50cbb1229484d106900bd8f78fb414a784ce2e 100644 --- a/Framework/Indexing/inc/MantidIndexing/IndexSet.h +++ b/Framework/Indexing/inc/MantidIndexing/IndexSet.h @@ -144,8 +144,7 @@ IndexSet<T>::IndexSet(const std::vector<size_t> &indices, size_t fullRange) /** * Check if the index range is contiguous and in ascending order. */ -template <class T> -bool IndexSet<T>::isContiguous() const noexcept { +template <class T> bool IndexSet<T>::isContiguous() const noexcept { if (!m_isRange || m_indices.size() > 1) { for (size_t i = 0; i < m_indices.size() - 1; ++i) { if (m_indices[i] + 1 != m_indices[i + 1]) {