From 11c289ee1ca8baffc144fdfd0ff668b26ae3bbbf Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Mon, 4 Dec 2023 13:12:21 +0900 Subject: [PATCH] Update URDFModelImportUnitTest.cpp --- src/model_io/codecs/tests/URDFModelImportUnitTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/model_io/codecs/tests/URDFModelImportUnitTest.cpp b/src/model_io/codecs/tests/URDFModelImportUnitTest.cpp index 2e362ec48b..d5333d2188 100644 --- a/src/model_io/codecs/tests/URDFModelImportUnitTest.cpp +++ b/src/model_io/codecs/tests/URDFModelImportUnitTest.cpp @@ -13,6 +13,7 @@ #include #include #include +#include using namespace iDynTree; @@ -198,8 +199,7 @@ void checkLoadReducedModelOrderIsKept(std::string urdfFileName) } } - std::random_device rd; - std::mt19937 random_gen(rd()); + std::mt19937 random_gen(0); std::shuffle(dofsName.begin(), dofsName.end(), random_gen); //now load the new model and check they are the same