From 278d0e18469aacf505be18ce790a63c7cc31be26 Mon Sep 17 00:00:00 2001 From: Clint Herron Date: Wed, 10 Jul 2024 20:08:17 -0400 Subject: [PATCH] Initialize default slot sampling parameters from the global context. (#8418) --- examples/server/server.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/server/server.cpp b/examples/server/server.cpp index 8feff67029da1..efd426289a54c 100644 --- a/examples/server/server.cpp +++ b/examples/server/server.cpp @@ -737,6 +737,8 @@ struct server_context { slot.ga_n = ga_n; slot.ga_w = ga_w; + slot.sparams = params.sparams; + slot.reset(); slots.push_back(slot);