Closed sloriot closed 1 year ago
I think this assertion makes no sense. We create an octree for a random point set and refine the tree. Depending on the input it may just happen that there is nothing to do for the grade()
function. It is like an assert that a random sequence of numbers was not sorted before you call std::sort()
. @palliez @JacksonCampolattaro can you confirm.
I think this assertion makes no sense. We create an octree for a random point set and refine the tree. Depending on the input it may just happen that there is nothing to do for the
grade()
function. It is like an assert that a random sequence of numbers was not sorted before you callstd::sort()
. @palliez @JacksonCampolattaro can you confirm.
That can probably be removed. I think my logic at the time was that if the random point set happens to produce a tree with no jumps, then that unit test wouldn't actually confirm that grade()
was functioning correctly. In practice that likely never happens.
It even then confirms that grade()
does the right thing, namely just nothing.
I can reproduce this error [test_octree_grade.cpp, seed = 1669157241] with master.