Skip to content
Snippets Groups Projects
Commit eb70bc9f authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

merge statements

parent 1c72a4db
No related branches found
No related tags found
1 merge request!928Simplify Frame API; simplify DetectorMask API and internals; no longer use Powerfield<bool>
......@@ -42,8 +42,7 @@ Bin1D Frame::projectedBin(size_t i_flat, size_t k_axis) const
std::vector<int> Frame::allIndices(size_t i_flat) const
{
size_t remainder = i_flat;
std::vector<int> result;
result.resize(rank());
std::vector<int> result(rank());
for (size_t k = 0; k < rank(); ++k) {
size_t kk = rank() - 1 - k;
result[kk] = (int)(remainder % m_axes[kk]->size());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment