diff --git a/ext/ReactantOffsetArraysExt.jl b/ext/ReactantOffsetArraysExt.jl index e26d10c2b7..5e59d367b4 100644 --- a/ext/ReactantOffsetArraysExt.jl +++ b/ext/ReactantOffsetArraysExt.jl @@ -45,7 +45,8 @@ function Base.getindex( end function Base.getindex( - x::OffsetVector{Reactant.TracedRNumber{T}, Reactant.TracedRArray{T, 1}}, indices::Base.OneTo{Int} + x::OffsetVector{Reactant.TracedRNumber{T},Reactant.TracedRArray{T,1}}, + indices::Base.OneTo{Int}, ) where {T} offset_indices = indices .- x.offsets[1] return getindex(parent(x), offset_indices) diff --git a/src/Compiler.jl b/src/Compiler.jl index 7bd66fff17..4b67978b18 100644 --- a/src/Compiler.jl +++ b/src/Compiler.jl @@ -2170,8 +2170,10 @@ function compile_mlir!( ) end end - - func_op = MLIR.API.mlirSymbolTableLookup(MLIR.IR.SymbolTable(MLIR.IR.Operation(mod)), fnname) + + func_op = MLIR.API.mlirSymbolTableLookup( + MLIR.IR.SymbolTable(MLIR.IR.Operation(mod)), fnname + ) @assert func_op.ptr !== C_NULL func_op = MLIR.IR.Operation(func_op, false) fnbody = MLIR.IR.first_block(MLIR.IR.region(func_op, 1))::MLIR.IR.Block