Skip to content

Commit b3979ed

Browse files
Format Julia code
1 parent 6a03c78 commit b3979ed

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

ext/ReactantOffsetArraysExt.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ function Base.getindex(
4545
end
4646

4747
function Base.getindex(
48-
x::OffsetVector{Reactant.TracedRNumber{T}, Reactant.TracedRArray{T, 1}}, indices::Base.OneTo{Int}
48+
x::OffsetVector{Reactant.TracedRNumber{T},Reactant.TracedRArray{T,1}},
49+
indices::Base.OneTo{Int},
4950
) where {T}
5051
offset_indices = indices .- x.offsets[1]
5152
return getindex(parent(x), offset_indices)

src/Compiler.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2170,8 +2170,10 @@ function compile_mlir!(
21702170
)
21712171
end
21722172
end
2173-
2174-
func_op = MLIR.API.mlirSymbolTableLookup(MLIR.IR.SymbolTable(MLIR.IR.Operation(mod)), fnname)
2173+
2174+
func_op = MLIR.API.mlirSymbolTableLookup(
2175+
MLIR.IR.SymbolTable(MLIR.IR.Operation(mod)), fnname
2176+
)
21752177
@assert func_op.ptr !== C_NULL
21762178
func_op = MLIR.IR.Operation(func_op, false)
21772179
fnbody = MLIR.IR.first_block(MLIR.IR.region(func_op, 1))::MLIR.IR.Block

0 commit comments

Comments
 (0)