summaryrefslogtreecommitdiff
path: root/src/python/test/test_simplex_tree.py
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-12-11 09:38:12 +0100
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-12-11 09:38:12 +0100
commit957da77f9484972ce34d0415502887f92080878e (patch)
treec830b74398c05762b52b5a12eb1450313874b8df /src/python/test/test_simplex_tree.py
parentfda0084941ece5d41a258d19ca4eb0b3d87384a4 (diff)
code review: GUDHI_USE_EIGEN3 generated by CMake in __init__.py as suggested and roll back the other solution
Diffstat (limited to 'src/python/test/test_simplex_tree.py')
-rwxr-xr-xsrc/python/test/test_simplex_tree.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/test/test_simplex_tree.py b/src/python/test/test_simplex_tree.py
index 15b472ee..0c072baa 100755
--- a/src/python/test/test_simplex_tree.py
+++ b/src/python/test/test_simplex_tree.py
@@ -8,7 +8,7 @@
- YYYY/MM Author: Description of the modification
"""
-from gudhi import SimplexTree, simplex_tree
+from gudhi import SimplexTree, __GUDHI_USE_EIGEN3
import pytest
__author__ = "Vincent Rouvreau"
@@ -355,7 +355,7 @@ def test_collapse_edges():
# If no Eigen3, collapse_edges just return a copy, no action. Maybe it would require some user warning
st.collapse_edges()
- if simplex_tree.__GUDHI_USE_EIGEN3:
+ if __GUDHI_USE_EIGEN3:
assert st.num_simplices() == 9
assert st.find([1, 3]) == False
for simplex in st.get_skeleton(0):