@@ -173,7 +173,7 @@ TEST_CASE("Smooth barrier potential full gradient and hessian 3D", tagsopt)
173173 vertices = mesh.vertices (vertices);
174174 }
175175
176- ParameterType param (dhat, 0.85 , 0.5 , 0.95 , 0.6 , 2 );
176+ ParameterType param (dhat, 0.85 , 0.5 , 0.95 , 0.6 , 2 , 1 );
177177 param.set_adaptive_dhat_ratio (min_dist_ratio);
178178 collisions.compute_adaptive_dhat (mesh, vertices, param, method);
179179 collisions.build (mesh, vertices, param, adaptive_dhat, method);
@@ -257,7 +257,7 @@ TEST_CASE("Smooth barrier potential real sim 2D C^2", "[smooth_potential]")
257257 // std::cout << "\n" << vertices << "\n" << edges << "\n";
258258
259259 CollisionMesh mesh;
260- ParameterType param (dhat, 0.9 , -0.05 , 0.95 , 0.05 , 1 );
260+ ParameterType param (dhat, 0.9 , -0.05 , 0.95 , 0.05 , 1 , 1 );
261261 param.set_adaptive_dhat_ratio (min_dist_ratio);
262262 SmoothCollisions collisions;
263263 mesh = CollisionMesh (vertices, edges, faces);
@@ -345,7 +345,7 @@ TEST_CASE("Smooth barrier potential real sim 2D C^1", "[smooth_potential]")
345345 // std::cout << "\n" << vertices << "\n" << edges << "\n";
346346
347347 CollisionMesh mesh;
348- ParameterType param (dhat, 0.9 , -0.05 , 0.95 , 0.05 , 1 );
348+ ParameterType param (dhat, 0.9 , -0.05 , 0.95 , 0.05 , 1 , 1 );
349349 param.set_adaptive_dhat_ratio (min_dist_ratio);
350350 SmoothCollisions collisions;
351351 mesh = CollisionMesh (vertices, edges, faces);
0 commit comments