diff --git a/test/items/gcp-opt.jl b/test/items/gcp-opt.jl index 742ff44..3aa0e71 100644 --- a/test/items/gcp-opt.jl +++ b/test/items/gcp-opt.jl @@ -98,7 +98,8 @@ end @testset "size(X)=$sz, rank(X)=$r" for sz in [(15, 20, 25), (30, 40, 50)], r in 1:2 Random.seed!(0) M = CPD(ones(r), rand.(sz, r)) - X = [rand(Gamma(1.5, M[I])) for I in CartesianIndices(size(M))] + k = 1.5 + X = [rand(Gamma(k, M[I]/k)) for I in CartesianIndices(size(M))] # Compute reference Random.seed!(0)