Explicitely specify parameter blocks

Might help windows...?
This commit is contained in:
Mael Rouxel-Labbé 2019-07-11 11:30:48 +02:00
parent b8b1989c65
commit c3d1977ac1
1 changed files with 4 additions and 0 deletions

View File

@ -419,6 +419,10 @@ public:
ceres::Problem problem;
problem.AddParameterBlock(&x, 1);
problem.AddParameterBlock(&y, 1);
problem.AddParameterBlock(&z, 1);
for(halfedge_descriptor h : halfedges_around_source(v, mesh_))
{
CGAL_assertion(!is_border(h, mesh_));