Skip to content

Commit 7a08ff3

Browse files
Fix failing test
1 parent aeb35c5 commit 7a08ff3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/tensor/test_slinalg.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,6 @@ def test_correctness(self, b_shape: tuple[int], lower, trans, unit_diagonal):
396396
A_func = functools.partial(
397397
self.A_func, lower=lower, unit_diagonal=unit_diagonal
398398
)
399-
T = functools.partial(self.T, trans=trans)
400399

401400
x = solve_triangular(
402401
A_func(A),
@@ -411,7 +410,7 @@ def test_correctness(self, b_shape: tuple[int], lower, trans, unit_diagonal):
411410

412411
x_pt = f(A_val, b_val)
413412
x_sp = scipy.linalg.solve_triangular(
414-
T(A_func(A_val)).eval(),
413+
A_func(A_val).eval(),
415414
b_val,
416415
lower=lower,
417416
trans=trans,

0 commit comments

Comments
 (0)