Skip to content

Commit

Permalink
format weird indentation in test for loops
Browse files Browse the repository at this point in the history
  • Loading branch information
Red-Portal committed Sep 5, 2024
1 parent 426d943 commit 3cc9e80
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 12 deletions.
6 changes: 2 additions & 4 deletions test/families/location_scale.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

@testset "interface LocationScale" begin
@testset "$(string(covtype)) $(basedist) $(realtype)" for basedist in
[:gaussian, :gaussian_nonstd],
@testset "$(string(covtype)) $(basedist) $(realtype)" for basedist in [:gaussian, :gaussian_nonstd],
covtype in [:meanfield, :fullrank],
realtype in [Float32, Float64]

Expand Down Expand Up @@ -144,8 +143,7 @@
end

@testset "scale positive definite projection" begin
@testset "$(string(covtype)) $(realtype) $(bijector)" for covtype in
[:meanfield, :fullrank],
@testset "$(string(covtype)) $(realtype) $(bijector)" for covtype in [:meanfield, :fullrank],
realtype in [Float32, Float64],
bijector in [nothing, :identity]

Expand Down
3 changes: 1 addition & 2 deletions test/families/location_scale_low_rank.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

@testset "interface LocationScaleLowRank" begin
@testset "$(basedist) rank=$(rank) $(realtype)" for basedist in
[:gaussian, :gaussian_nonstd],
@testset "$(basedist) rank=$(rank) $(realtype)" for basedist in [:gaussian, :gaussian_nonstd],
n_rank in [1, 2],
realtype in [Float32, Float64]

Expand Down
3 changes: 1 addition & 2 deletions test/inference/repgradelbo_distributionsad.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ if @isdefined(Tapir)
end

@testset "inference RepGradELBO DistributionsAD" begin
@testset "$(modelname) $(objname) $(realtype) $(adbackname)" for realtype in
[Float64, Float32],
@testset "$(modelname) $(objname) $(realtype) $(adbackname)" for realtype in [Float64, Float32],
(modelname, modelconstr) in Dict(:Normal => normal_meanfield),
n_montecarlo in [1, 10],
(objname, objective) in Dict(
Expand Down
3 changes: 1 addition & 2 deletions test/inference/repgradelbo_locationscale.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ if @isdefined(Tapir)
end

@testset "inference RepGradELBO VILocationScale" begin
@testset "$(modelname) $(objname) $(realtype) $(adbackname)" for realtype in
[Float64, Float32],
@testset "$(modelname) $(objname) $(realtype) $(adbackname)" for realtype in [Float64, Float32],
(modelname, modelconstr) in
Dict(:Normal => normal_meanfield, :Normal => normal_fullrank),
n_montecarlo in [1, 10],
Expand Down
3 changes: 1 addition & 2 deletions test/inference/repgradelbo_locationscale_bijectors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ if @isdefined(Tapir)
end

@testset "inference RepGradELBO VILocationScale Bijectors" begin
@testset "$(modelname) $(objname) $(realtype) $(adbackname)" for realtype in
[Float64, Float32],
@testset "$(modelname) $(objname) $(realtype) $(adbackname)" for realtype in [Float64, Float32],
(modelname, modelconstr) in
Dict(:NormalLogNormalMeanField => normallognormal_meanfield),
n_montecarlo in [1, 10],
Expand Down

0 comments on commit 3cc9e80

Please sign in to comment.