Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Volker Springel
Gadget4
Commits
06d04a45
Commit
06d04a45
authored
Nov 03, 2020
by
Volker Springel
Browse files
added missing always open root node statement (a regression)
parent
8a39fb83
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/fof/fof_nearest.cc
View file @
06d04a45
...
...
@@ -157,6 +157,14 @@ class fofdata_comm : public generic_comm<fofdata_in, fofdata_out, T_tree, T_doma
fofnode
*
current
=
Tree
->
get_nodep
(
no
,
shmrank
);
if
(
current
->
level
==
0
)
{
/* we always open the root node (its full node length can't be stored in the integer type */
no
=
current
->
nextnode
;
/* no change in shmrank expected here */
shmrank
=
current
->
nextnode_shmrank
;
continue
;
}
int
nosaved
=
no
;
no
=
current
->
sibling
;
/* in case the node can be discarded */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment