From 24653b1e01ea6946eeb9c3fb689836eda2cf8f06 Mon Sep 17 00:00:00 2001 From: bvdmitri Date: Tue, 4 Nov 2025 20:19:38 +0100 Subject: [PATCH] set global seed for reproducibility --- test/runtests.jl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/runtests.jl b/test/runtests.jl index 4d8243a..e0f88f9 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,3 +1,6 @@ -using ExponentialFamilyProjection, Test, ReTestItems +using ExponentialFamilyProjection, Test, ReTestItems, Random + +# Set the random seed for reproducibility of kl-divergence tests +Random.seed!(42) runtests(ExponentialFamilyProjection; memory_threshold = 1.0)