Skip to content

Commit c072a2f

Browse files
committed
Poisson4 returns different vertices when parallelized, so keep to single thread for the test.
1 parent 1ae0a73 commit c072a2f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/surface/test_poisson.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ TEST (PCL, Poisson)
6767

6868
Poisson<PointNormal> poisson;
6969
poisson.setInputCloud (cloud_with_normals);
70+
// poisson4 returns different vertices when parallelized
71+
// for now, disable parallelization
72+
poisson.setNumberOfThreads(1);
7073
PolygonMesh mesh;
7174
poisson.reconstruct (mesh);
7275

0 commit comments

Comments
 (0)