Skip to content

Commit 893adcb

Browse files
committed
Fix more get_return_types
1 parent e1d5b86 commit 893adcb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/modeling_library/product.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ discrete_product = ProductDistribution(bernoulli, binom)
1010

1111
# random
1212
x = discrete_product(p1, n, p2)
13-
@assert typeof(x) == get_return_type(discrete_product) == Tuple{Bool, Int}
13+
@assert typeof(x) == Gen.get_return_type(discrete_product) == Tuple{Bool, Int}
1414

1515
# logpdf
1616
x = (true, 2)
@@ -41,7 +41,7 @@ continuous_product = ProductDistribution(uniform, normal)
4141

4242
# random
4343
x = continuous_product(low, high, mu, std)
44-
@asssert typeof(x) == get_return_type(continuous_product) == Typle{Float64, Float64}
44+
@asssert typeof(x) == Gen.get_return_type(continuous_product) == Typle{Float64, Float64}
4545

4646
# logpdf
4747
x = (0.1, 0.7)
@@ -72,7 +72,7 @@ dissimilar_product = ProductDistribution(bernoulli, normal)
7272

7373
# random
7474
x = dissimilar_product(p, mu, std)
75-
@assert typeof(x) == get_return_type(dissimilar_product) == Tuple{Bool, Float64}
75+
@assert typeof(x) == Gen.get_return_type(dissimilar_product) == Tuple{Bool, Float64}
7676

7777
# logpdf
7878
x = (false, 0.3)

0 commit comments

Comments
 (0)