Skip to content

Commit 3f38622

Browse files
authored
Revert "fix: noop check (#953)" (#957)
This reverts commit 57d86f1.
1 parent 514e506 commit 3f38622

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: src/TracedUtils.jl

-1
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,6 @@ function elem_apply(f, args::Vararg{Any,Nargs}) where {Nargs}
629629
end
630630

631631
function broadcast_to_size(arg::AbstractArray{<:TracedRNumber}, rsize)
632-
collect(size(arg)) == collect(rsize) && return arg
633632
if Reactant.ancestor(arg) isa TracedRArray
634633
return broadcast_to_size(materialize_traced_array(arg), rsize)
635634
end

0 commit comments

Comments
 (0)