Skip to content

Commit

Permalink
Revert "further in-lining for the implicit triangulation"
Browse files Browse the repository at this point in the history
This reverts commit a53067d.
  • Loading branch information
julien-tierny committed Sep 28, 2023
1 parent 8c6efab commit 88c9078
Show file tree
Hide file tree
Showing 4 changed files with 1,357 additions and 1,273 deletions.
2 changes: 1 addition & 1 deletion core/base/connectedComponents/ConnectedComponents.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ namespace ttk {
TID id = seed;

float size = 0;
float x = 0, y = 0, z = 0;
float x, y, z;
float center[3] = {0, 0, 0};

while(!stack.empty()) {
Expand Down
2 changes: 1 addition & 1 deletion core/base/fiberSurface/FiberSurface.h
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ inline int ttk::FiberSurface::computeCase0(
Geometry::computeBarycentricCoordinates(
p0.data(), p1.data(), p.data(), baryCentrics, 2);

float pA[3] = {0, 0, 0}, pB[3] = {0, 0, 0};
float pA[3], pB[3];
if(triangulation) {
triangulation->getVertexPoint(vertexId0, pA[0], pA[1], pA[2]);
triangulation->getVertexPoint(vertexId1, pB[0], pB[1], pB[2]);
Expand Down
Loading

0 comments on commit 88c9078

Please sign in to comment.