Skip to content

Commit

Permalink
chore: apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Sergio Sánchez Ramírez <[email protected]>
  • Loading branch information
avik-pal and mofeing authored Dec 9, 2024
1 parent ca1f1be commit 101ab7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TracedRNumber.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ mutable struct TracedRNumber{T} <: RNumber{T}
end

get_mlir_data(x::TracedRNumber) = x.mlir_data
set_mlir_data!(x::TracedRNumber, data) = (x.mlir_data = data)
set_mlir_data!(x::TracedRNumber, data) = (x.mlir_data = data; return x)

ReactantCore.is_traced(::TracedRNumber) = true

Expand Down

0 comments on commit 101ab7a

Please sign in to comment.