Skip to content

Commit

Permalink
Fixed tuple initialization
Browse files Browse the repository at this point in the history
This problem occurred under Mac OS X and `clang` only so far. Maybe this
indicates that a rewrite of the tuple functionality is necessary.
  • Loading branch information
Pseudomanifold committed Jan 5, 2018
1 parent 5397df7 commit e53e9e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TriangulationAlgorithms/MinimumWeightTriangulation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ bool MinimumWeightTriangulation::apply_to(mesh& input_mesh)

// Initialize weights array correctly
if(i < n-1)
weights[i][i+1] = 0;
weights[i][i+1] = ktuple( 0 );
if(i < n-2)
weights[i][i+2] = objective_function( input_mesh.get_vertex(i),
input_mesh.get_vertex(i+1),
Expand Down

0 comments on commit e53e9e8

Please sign in to comment.