From bf7d5a912cafc1a0a3e65aab5fade85808217940 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Wed, 23 Aug 2023 20:58:20 +0800 Subject: [PATCH] ... --- tests/80_linalg.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/80_linalg.py b/tests/80_linalg.py index fdf71d1b..63cc28c2 100644 --- a/tests/80_linalg.py +++ b/tests/80_linalg.py @@ -311,7 +311,7 @@ assert result_mat == correct_result_mat # test matmul test_mat_copy = test_mat.copy() test_mat_copy_2 = test_mat.copy() -result_mat = test_mat_copy.matmul(test_mat_copy_2) +result_mat = test_mat_copy @ test_mat_copy_2 correct_result_mat = mat3x3() for i in range(3): for j in range(3): @@ -378,7 +378,6 @@ test_mat_copy = test_mat.copy() assert test_mat_copy.transpose() == test_mat_copy.transpose().transpose().transpose() # test inverse -assert static_test_mat_float.inverse() == static_test_mat_float_inv assert ~static_test_mat_float == static_test_mat_float_inv try: