Skip to content

Commit 262134e

Browse files
committed
matrices: set the default value for dotprodsimp to None
Update test_wester.
1 parent c47715b commit 262134e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

sympy/utilities/tests/test_wester.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1595,21 +1595,17 @@ def test_P27():
15951595
[0, 0, 0, a, 0],
15961596
[0, -2, 0, 0, 2]])
15971597

1598-
# XXX: 2-arg Mul hack
1599-
def mul2(x, y):
1600-
return Mul(x, y, evaluate=False)
1601-
16021598
assert M.eigenvects() == [
16031599
(a, 3, [
16041600
Matrix([1, 0, 0, 0, 0]),
16051601
Matrix([0, 0, 1, 0, 0]),
16061602
Matrix([0, 0, 0, 1, 0])
16071603
]),
16081604
(1 - I, 1, [
1609-
Matrix([0, mul2(-S(1)/2, -1 - I), 0, 0, 1])
1605+
Matrix([0, (1 + I)/2, 0, 0, 1])
16101606
]),
16111607
(1 + I, 1, [
1612-
Matrix([0, mul2(-S(1)/2, -1 + I), 0, 0, 1])
1608+
Matrix([0, (1 - I)/2, 0, 0, 1])
16131609
]),
16141610
]
16151611

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy