Skip to content

Commit 786c9b4

Browse files
Add missing butterfly.jl test to runtests.jl with version check
The butterfly.jl test file was present in the test directory but was not being run as part of the test suite. This test file validates the ButterflyFactorization algorithm with random matrices and Wilkinson matrices. The test is conditionally included only when RecursiveFactorization version 0.2.26 or higher is available, as the butterfly factorization functionality requires that version. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 547bf0c commit 786c9b4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

test/runtests.jl

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@ if GROUP == "All" || GROUP == "Core"
1919
@time @safetestset "Traits" include("traits.jl")
2020
@time @safetestset "Verbosity" include("verbosity.jl")
2121
@time @safetestset "BandedMatrices" include("banded.jl")
22+
# Butterfly test requires RecursiveFactorization 0.2.26+
23+
if HAS_EXTENSIONS
24+
try
25+
import RecursiveFactorization
26+
if pkgversion(RecursiveFactorization) >= v"0.2.26"
27+
@time @safetestset "Butterfly Factorization" include("butterfly.jl")
28+
end
29+
catch
30+
end
31+
end
2232
@time @safetestset "Mixed Precision" include("test_mixed_precision.jl")
2333
end
2434

0 commit comments

Comments
 (0)