Skip to content

Commit

Permalink
fix x86 test issues; reenable windows on github and remove appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
Jutho committed Oct 4, 2023
1 parent 139afa4 commit 2cfbb64
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 43 deletions.
36 changes: 0 additions & 36 deletions .appveyor.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
os:
- ubuntu-latest
- macOS-latest
# - windows-latest # run on AppVeyor instead
- windows-latest
arch:
- x64
- x86
Expand Down
13 changes: 7 additions & 6 deletions test/tensors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -441,14 +441,15 @@ for V in spacelist
t = Tensor(rand, T, V1 V1' V2 V2')
@testset "eig and isposdef" begin
D, V = eigen(t, ((1, 3), (2, 4)))
D̃, Ṽ = @constinferred eig(t, ((1, 3), (2, 4)))
@test D
@test V
VdV = V' * V
VdV = (VdV + VdV') / 2
@test isposdef(VdV)
t2 = permute(t, ((1, 3), (2, 4)))
@test t2 * V V * D

# Somehow moving these test before the previous one gives rise to errors
# with T=Float32 on x86 platforms. Is this an OpenBLAS issue?
VdV = V' * V;
VdV = (VdV + VdV') / 2
@test isposdef(VdV)

@test !isposdef(t2) # unlikely for non-hermitian map
t2 = (t2 + t2')
D, V = eigen(t2)
Expand Down

0 comments on commit 2cfbb64

Please sign in to comment.