Skip to content

Commit

Permalink
Format code (#528)
Browse files Browse the repository at this point in the history
Co-authored-by: enzyme-ci-bot[bot] <78882869+enzyme-ci-bot[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and enzyme-ci-bot[bot] authored Jan 13, 2025
1 parent 6217c74 commit c664414
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/stdlibs/Base.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@inline Base.vcat(a::Number, b::Union{AnyConcreteRArray, AnyTracedRArray}) =
@inline Base.vcat(a::Number, b::Union{AnyConcreteRArray,AnyTracedRArray}) =
@allowscalar(vcat(fill!(similar(b, typeof(a), (1, size(b)[2:end]...)), a), b))
@inline Base.hcat(a::Number, b::Union{AnyConcreteRArray, AnyTracedRArray}) =
@allowscalar(hcat(fill!(similar(b, typeof(a), (size(b)[1:end-1]..., 1)), a), b))
@inline Base.hcat(a::Number, b::Union{AnyConcreteRArray,AnyTracedRArray}) =
@allowscalar(hcat(fill!(similar(b, typeof(a), (size(b)[1:(end - 1)]..., 1)), a), b))

0 comments on commit c664414

Please sign in to comment.