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 committed Dec 10, 2024
1 parent 459539b commit e128132
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 e128132

Please sign in to comment.