| 136 | } |
| 137 | |
| 138 | static void set_origin_axis(dimension::sub& s, const std::vector<std::size_t>& axis) |
| 139 | { |
| 140 | assert(s.axis.empty() or s.hidden_axis.empty()); |
| 141 | if(s.has_hidden_axis()) |
| 142 | s.hidden_axis = axis; |
| 143 | else |
| 144 | s.axis = axis; |
| 145 | } |
| 146 | |
| 147 | // Group all axes into a map with a key of the axis and the value is vector of |
| 148 | // all subdimensions that have that axis. |
no test coverage detected