From effad3a6f8a176ac7c45f6e0abc38a3524ad011b Mon Sep 17 00:00:00 2001 From: Filip Sykala Date: Mon, 9 May 2022 17:02:55 +0200 Subject: [PATCH] fix initialization type --- tests/libslic3r/test_mutable_priority_queue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/libslic3r/test_mutable_priority_queue.cpp b/tests/libslic3r/test_mutable_priority_queue.cpp index 3e99eef08..78c97bc7e 100644 --- a/tests/libslic3r/test_mutable_priority_queue.cpp +++ b/tests/libslic3r/test_mutable_priority_queue.cpp @@ -356,7 +356,7 @@ TEST_CASE("Mutable priority queue - first pop", "[MutableSkipHeapPriorityQueue]" [](MyValue &l, MyValue &r) { return l.val < r.val; }); q.reserve(count); for (size_t id = 0; id < count; id++) { - MyValue mv{ id, rand()}; + MyValue mv{ id, rand() / 100.f }; q.push(mv); } MyValue it = q.top(); // copy