Skip to content

Conversation

@ChrisRackauckas-Claude
Copy link
Contributor

Summary

  • Mark two hvcat block matrix concatenation tests as @test_broken on Julia 1.13+
  • On Julia 1.13.0-alpha2, the [a b; c d] syntax for ComponentArrays does not dispatch to the ComponentArrays.hvcat method but falls back to LinearAlgebra's method, causing axes to be lost

Problem

The CI failure on "Julia pre - All" shows:

Math: Test Failed at test/runtests.jl:675
  Expression: getaxes([ab_ab ab_cd; cd_ab cd_cd]) == (ABCD, ABCD)
   Evaluated: () == (Axis(a = 1, b = 2, c = 3, d = 4), Axis(a = 1, b = 2, c = 3, d = 4))

This is due to changed method dispatch behavior in Julia 1.13 where the ComponentArrays hvcat method is not being selected over LinearAlgebra's more general method.

Test plan

  • Tests pass on Julia 1.12 (LTS and stable)
  • Tests will pass on Julia 1.13+ with the affected tests marked as broken

🤖 Generated with Claude Code

claude added 2 commits January 9, 2026 12:07
On Julia 1.13.0-alpha2, the `[a b; c d]` block matrix syntax for
ComponentArrays does not dispatch to ComponentArrays.hvcat method
but instead falls back to LinearAlgebra's method. This causes the
axes to be lost and the result to be a plain Matrix.

This marks the affected tests as @test_broken on Julia 1.13+ until
the dispatch issue can be investigated further.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Apply Runic formatting to test/runtests.jl
- Skip Reactant tests on Julia 1.13+ since Reactant doesn't support it yet
  See: EnzymeAD/Reactant.jl#1736

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@ChrisRackauckas ChrisRackauckas merged commit df94698 into SciML:main Jan 11, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants