We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e34ce02 + d019d3d commit 3d00c6aCopy full SHA for 3d00c6a
burnman/tools/polytope.py
@@ -9,13 +9,21 @@
9
from sympy import Matrix
10
from scipy.linalg import block_diag
11
12
+import warnings
13
import logging
14
import importlib
15
from ..classes.polytope import MaterialPolytope, independent_row_indices
16
from ..classes.solution import Solution
17
from ..classes.composite import Composite
18
from .solution import transform_solution_to_new_basis
19
20
+logging.captureWarnings(True)
21
+warnings.filterwarnings(
22
+ "ignore",
23
+ message="The default value of raise_error will change to True in the future.",
24
+ category=FutureWarning,
25
+)
26
+
27
try:
28
cp = importlib.import_module("cvxpy")
29
except ImportError as err:
0 commit comments