From 6b910647d22e54a8c0b9c7f837af8dce150d5ee2 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Wed, 26 Oct 2022 01:17:30 +0200 Subject: Try to make multistart (more) reproducible --- tests/testthat/test_multistart.R | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/testthat/test_multistart.R') diff --git a/tests/testthat/test_multistart.R b/tests/testthat/test_multistart.R index e0b1ecd7..8408413f 100644 --- a/tests/testthat/test_multistart.R +++ b/tests/testthat/test_multistart.R @@ -1,6 +1,7 @@ context("Multistart method for saem.mmkin models") test_that("multistart works for saem.mmkin models", { + set.seed(123456) saem_biphasic_m_multi <- multistart(saem_biphasic_m, n = 8, cores = n_cores) expect_known_output(print(saem_biphasic_m_multi), -- cgit v1.2.1