Skip to content
Snippets Groups Projects
Commit 16de141d authored by Berenger Bramas's avatar Berenger Bramas
Browse files

Debug for a tiny number of particles -- interval builder was incorrect when...

Debug for a tiny number of particles -- interval builder was incorrect when number of intervals greater than number of items
parent 05a2e661
No related branches found
No related tags found
2 merge requests!21Bugfix/nansampling,!3Bugfix/event manager show html
...@@ -184,7 +184,7 @@ public: ...@@ -184,7 +184,7 @@ public:
step_split(0), offset_mine(0), size_mine(0){ step_split(0), offset_mine(0), size_mine(0){
if(nb_items <= nb_intervals){ if(nb_items <= nb_intervals){
step_split = 1; step_split = 1;
if(my_idx < nb_intervals){ if(my_idx < nb_items){
offset_mine = my_idx; offset_mine = my_idx;
size_mine = 1; size_mine = 1;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment