Skip to content

Commit 8260fee

Browse files
committed
format
1 parent 04d2e44 commit 8260fee

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

test/probprog/sample.jl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,13 @@ end
2424
seed = Reactant.to_rarray(UInt64[1, 4])
2525
μ = Reactant.ConcreteRNumber(0.0)
2626
σ = Reactant.ConcreteRNumber(1.0)
27-
before = @code_hlo optimize = false ProbProg.call_internal(one_sample, seed, μ, σ, shape)
27+
before = @code_hlo optimize = false ProbProg.call_internal(
28+
one_sample, seed, μ, σ, shape
29+
)
2830
@test contains(repr(before), "enzyme.sample")
29-
after = @code_hlo optimize = :probprog ProbProg.call_internal(two_samples, seed, μ, σ, shape)
31+
after = @code_hlo optimize = :probprog ProbProg.call_internal(
32+
two_samples, seed, μ, σ, shape
33+
)
3034
@test !contains(repr(after), "enzyme.sample")
3135
end
3236

test/probprog/simulate.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ end
1919
σ = Reactant.ConcreteRNumber(1.0)
2020

2121
before = @code_hlo optimize = false ProbProg.simulate_internal(
22-
model, seed, μ, σ, shape; trace = ProbProg.ProbProgTrace()
22+
model, seed, μ, σ, shape; trace=ProbProg.ProbProgTrace()
2323
)
2424
@test contains(repr(before), "enzyme.simulate")
2525

2626
after = @code_hlo optimize = :probprog ProbProg.simulate_internal(
27-
model, seed, μ, σ, shape; trace = ProbProg.ProbProgTrace()
27+
model, seed, μ, σ, shape; trace=ProbProg.ProbProgTrace()
2828
)
2929
@test !contains(repr(after), "enzyme.simulate")
3030
end

0 commit comments

Comments
 (0)