Skip to content

Commit

Permalink
Fix call to TracedRArray constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio Sánchez Ramírez committed Jul 21, 2024
1 parent 2b3b277 commit 1fbd920
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Tracing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ function broadcast_to_size(arg::Broadcast.Extruded, rsize)

len = length(rsize)
@assert typeof(len) == Int
return TracedRArray{eltype(x),rsize,len}(
return TracedRArray{eltype(x),len}(
(),
MLIR.IR.result(
MLIR.Dialects.stablehlo.broadcast_in_dim(
Expand All @@ -631,6 +631,7 @@ function broadcast_to_size(arg::Broadcast.Extruded, rsize)
),
1,
),
rsize,
)
end

Expand Down

0 comments on commit 1fbd920

Please sign in to comment.