Skip to content

Commit 1084ce1

Browse files
authored
Skip some matrix functions in tests
Julia 1.12 is stricter with checking inputs to some matrix functions so some of those tests were failing, so this PR skips them.
1 parent 1f73b5f commit 1084ce1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_contraction.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ end
6464
t = reshape(sds22, (2, 2, 2, 2))
6565
g2 = gradedrange([SU2(1 // 2) => 1])
6666
ft = to_fusiontensor(t, (g2, g2), (dual(g2), dual(g2)))
67-
for f in setdiff(FusionTensors.MATRIX_FUNCTIONS, [:acoth, :cbrt])
67+
MATRIX_FUNCTIONS_SKIP = [:acos, :acosh, :acoth, :acsc, :asec, :asech, :asin, :cbrt]
68+
for f in setdiff(FusionTensors.MATRIX_FUNCTIONS, MATRIX_FUNCTIONS_SKIP)
6869
t2 = reshape((@eval Base.$f)(sds22), (2, 2, 2, 2))
6970
ft2 = to_fusiontensor(t2, (g2, g2), (dual(g2), dual(g2)))
7071
@test (@eval TensorAlgebra.$f)(ft, (1, 2, 3, 4), (1, 2), (3, 4)) ft2

0 commit comments

Comments
 (0)