Skip to content
Snippets Groups Projects
Commit 6fb3a5ab authored by jstark's avatar jstark
Browse files

Fixing bug in offset computation.

parent 5b7bd8c5
No related branches found
No related tags found
1 merge request!1Master
Pipeline #2355 passed
......@@ -129,7 +129,7 @@ void load_pixel_onto_grid(grid_type & grid, std::string file_name, std::vector <
// in case that the grid has a different resolution than the underlying image stack:
// create a key which is used to get the offset for the file reading
// the indices in this key are corrected by the refinement factor
for (size_t d = 1; d < grid_type::dims; d++)
for (size_t d = 0; d < grid_type::dims; d++)
{
gkey.set_d(d, std::round(gkey.get(d) / refinement[d]));
}
......
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