You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks @nangong !!
From a first look you seem to be right. ns_LAST_LEVEL is not the Leaf-Level, but one level above.
It is used to trigger serial execution of Leaf-Node operations to prevent inefficient full parallelization.
So the assert is buggy.
I will check this again and correct it with an upcoming release (which should come soon).
Hi, I found a possible buggy assert in kernel_print function,
assert((level == 0 && node.hasStatus(ns_LAST_LEVEL)) || (level != 0 && hasStatus(ns_LAST_LEVEL))); // line 164
I think the line should be ,
assert((level == 1 && node.hasStatus(ns_LAST_LEVEL)) || (level != 1 && hasStatus(ns_LAST_LEVEL)));
Since nodes in level 0 are all leaf nodes , and in NTree.hpp,
`
// line 607
`
the above code set ns_LAST_LEVEL flag for nodes in level 1.
The text was updated successfully, but these errors were encountered: