Skip to content
This repository was archived by the owner on Mar 12, 2021. It is now read-only.

Commit 70decc3

Browse files
committed
Fix finalizer.
1 parent 16ebad8 commit 70decc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rand/random.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ end
3030

3131
function unsafe_destroy!(rng::RNG)
3232
if CUDAdrv.isvalid(rng.ctx)
33-
curandDestroyGenerator(e)
33+
curandDestroyGenerator(rng)
3434
end
3535
end
3636

0 commit comments

Comments
 (0)