Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
openfpm_io
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sbalzarini Lab
Software
Parallel Computing
OpenFPM
openfpm_io
Commits
6fb3a5ab
Commit
6fb3a5ab
authored
4 years ago
by
jstark
Browse files
Options
Downloads
Patches
Plain Diff
Fixing bug in offset computation.
parent
5b7bd8c5
No related branches found
Branches containing commit
No related tags found
1 merge request
!1
Master
Pipeline
#2355
passed
4 years ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/RawReader/InitGridWithPixel.hpp
+1
-1
1 addition, 1 deletion
src/RawReader/InitGridWithPixel.hpp
with
1 addition
and
1 deletion
src/RawReader/InitGridWithPixel.hpp
+
1
−
1
View file @
6fb3a5ab
...
...
@@ -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
]));
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment