Skip to content

Commit 383031e

Browse files
committed
clean up
1 parent 9119d61 commit 383031e

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

mathics/builtin/arithmetic.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1342,6 +1342,7 @@ class PossibleZeroQ(SympyFunction):
13421342
def apply(self, expr, evaluation):
13431343
"%(name)s[expr_]"
13441344
from sympy.matrices.utilities import _iszero
1345+
13451346
sympy_expr = expr.to_sympy()
13461347
result = _iszero(sympy_expr)
13471348
if result is None:
@@ -1362,6 +1363,7 @@ def apply(self, expr, evaluation):
13621363
if Expression("Simplify", expr).evaluate(evaluation) == Integer(0)
13631364
else SymbolFalse
13641365
)
1366+
13651367
return from_python(result)
13661368

13671369

mathics/builtin/linalg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ def mp_eig(mp_matrix) -> Expression:
739739
return Expression("List", *eigenvalues)
740740

741741
options = {
742-
"Method": "sympy",
742+
"Method": "Sympy",
743743
}
744744

745745
def apply(self, m, evaluation, options={}) -> Expression:

0 commit comments

Comments
 (0)