Skip to content

Commit 2a928d4

Browse files
committed
remove warning
1 parent c51f4d5 commit 2a928d4

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

burnman/classes/polytope.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,13 @@
1818

1919
from ..utils.math import independent_row_indices
2020

21-
cdd_gmp_loaded = False
2221

2322
try:
2423
cdd_fraction = importlib.import_module("cdd.gmp")
2524
cdd_gmp_loaded = True
26-
except ImportError as err:
25+
except ImportError:
2726
cdd_fraction = importlib.import_module("cdd")
28-
print(
29-
f"Warning: {err}. Only pycddlib-standalone is installed."
30-
"For precise fractional representations of polytopes, please install pycddlib."
31-
)
27+
cdd_gmp_loaded = False
3228

3329

3430
class SimplexGrid(object):

0 commit comments

Comments
 (0)