Skip to content

Commit

Permalink
by_edge_collapse: change float128->float64
Browse files Browse the repository at this point in the history
  • Loading branch information
schlegelp committed Nov 9, 2020
1 parent 300ad64 commit 5157353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skeletor/skeletonizers.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def by_edge_collapse(mesh, shape_weight=1, sample_weight=0.1, output='swc',
# Q for vertex i is then the sum of the products of (kT,k) for ALL edges
# connected to vertex i:
# Initialize matrix of correct shape
Q_array = np.zeros((4, 4, verts.shape[0]), dtype=np.float128)
Q_array = np.zeros((4, 4, verts.shape[0]), dtype=np.float64)

# Generate (kT, K)
kT = np.transpose(K, axes=(1, 0, 2))
Expand Down

0 comments on commit 5157353

Please sign in to comment.