|
|
6de2b7f |
diff --git a/GridContainer/GridContainer/_impl/GridContainer.icpp b/GridContainer/GridContainer/_impl/GridContainer.icpp
|
|
|
6de2b7f |
index 1216714..f01133a 100644
|
|
|
6de2b7f |
--- a/GridContainer/GridContainer/_impl/GridContainer.icpp
|
|
|
6de2b7f |
+++ b/GridContainer/GridContainer/_impl/GridContainer.icpp
|
|
|
6de2b7f |
@@ -47,7 +47,7 @@ template<typename GridCellManager, typename... AxesTypes>
|
|
|
6de2b7f |
GridContainer<GridCellManager, AxesTypes...>::GridContainer(
|
|
|
6de2b7f |
const GridContainer<GridCellManager, AxesTypes...>& other,
|
|
|
6de2b7f |
size_t axis, size_t index)
|
|
|
6de2b7f |
- : m_axes{other.m_axes}, m_axes_fixed{fixAxis(other.m_axes_fixed, axis, index)},
|
|
|
6de2b7f |
+ : m_axes{other.m_axes}, m_axes_fixed{fixAxis(other.m_axes, axis, index)},
|
|
|
6de2b7f |
m_fixed_indices{other.m_fixed_indices}, m_cell_manager{other.m_cell_manager} {
|
|
|
6de2b7f |
// Update the fixed indices
|
|
|
6de2b7f |
if (m_fixed_indices.find(axis) != m_fixed_indices.end()) {
|
|
|
6de2b7f |
@@ -155,7 +155,7 @@ template<typename GridCellManager, typename... AxesTypes>
|
|
|
6de2b7f |
template<int I>
|
|
|
6de2b7f |
GridContainer<GridCellManager, AxesTypes...> GridContainer<GridCellManager, AxesTypes...>::fixAxisByIndex(size_t index) {
|
|
|
6de2b7f |
if (index >= getOriginalAxis().size()) {
|
|
|
6de2b7f |
- throw Elements::Exception() << "Index (" << index << ") out of axis "
|
|
|
6de2b7f |
+ throw Elements::Exception() << "Index (" << index << ") out of axis "
|
|
|
6de2b7f |
<< getOriginalAxis().name() << " size ("
|
|
|
6de2b7f |
<< getOriginalAxis().size() << ")";
|
|
|
6de2b7f |
}
|