Skip to content

Commit

Permalink
Tweak test case to match a bit better
Browse files Browse the repository at this point in the history
  • Loading branch information
dahong67 committed Oct 12, 2023
1 parent 1b032e1 commit 2f59b37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/items/gcp-opt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2f59b37

Please sign in to comment.