Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
mofeing committed Dec 29, 2024
1 parent eeaf86c commit f079a9d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/Ops.jl
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +961,14 @@ end
@assert 0 < dimension <= ndims(x) "$x invalid dimension"

(a, b) = (Reactant.ConcreteRNumber(T(0)), Reactant.ConcreteRNumber(T(0)))
func = Reactant.TracedUtils.make_mlir_fn(comparator, (a, b), (), "comparator"; no_args_in_result=true, return_dialect=:stablehlo)[2]
func = Reactant.TracedUtils.make_mlir_fn(
comparator,
(a, b),
(),
"comparator";
no_args_in_result=true,
return_dialect=:stablehlo,
)[2]
@assert MLIR.IR.nregions(func) == 1
fn_name = String(
MLIR.IR.attr(func, String(MLIR.API.mlirSymbolTableGetSymbolAttributeName()))
Expand Down

0 comments on commit f079a9d

Please sign in to comment.