Skip to content

Commit 8073d82

Browse files
committed
scalar indexing fix
1 parent 37d84a3 commit 8073d82

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

test/gpu_all.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ function claytonsample!(sto, τ, α; randmat=randmat)
5656
sto = get_tmp(sto, τ)
5757
sto .= randmat
5858
τ == 0 && return sto
59-
n = size(sto, 1)
6059
v = @view sto[:, 2]
6160
u = @view sto[:, 1]
6261
@. v = (1 - u^(-τ) + u^(-τ)*v^(-/(1 + τ))))^(-1/τ)*α

0 commit comments

Comments
 (0)