From f0ba2aa54e09e57d81503b00dc288b17d24c6b5a Mon Sep 17 00:00:00 2001 From: "William S. Moses" Date: Wed, 30 Apr 2025 18:28:48 -0500 Subject: [PATCH] Fix broadcastosize of general abstract array --- src/TracedUtils.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TracedUtils.jl b/src/TracedUtils.jl index b14cba95f6..cb3b0c4116 100644 --- a/src/TracedUtils.jl +++ b/src/TracedUtils.jl @@ -952,7 +952,7 @@ function elem_apply(f, args::Vararg{Any,Nargs}) where {Nargs} return traced2_result end -function broadcast_to_size(arg::AnyTracedRArray, rsize) +function broadcast_to_size(arg::AbstractArray{<:TracedRNumber}, rsize) if Reactant.isa_traced_soa(Reactant.ancestor(arg)) return broadcast_to_size(materialize_traced_array(arg), rsize) end