Skip to content

Commit c738b70

Browse files
author
Nathaniel Saul
authored
Merge pull request #36 from szhechev/float64_error_fix
Fixed a problem with a numpy 1.18 deprecation
2 parents a904795 + e777d33 commit c738b70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

persim/images.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def transform(self, diagrams):
9191
if singular:
9292
diagrams = [diagrams]
9393

94-
dgs = [np.copy(diagram, np.float64) for diagram in diagrams]
94+
dgs = [np.copy(diagram) for diagram in diagrams]
9595
landscapes = [PersImage.to_landscape(dg) for dg in dgs]
9696

9797
if not self.specs:

0 commit comments

Comments
 (0)