From b9bbfa5d3343b6bdbfef3d2de7394ba9f9fdcf4d Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Tue, 25 Jan 2022 17:02:07 -0600 Subject: [PATCH] Setting the max lower bound ratio when retrieving a weight window. --- src/weight_windows.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/weight_windows.cpp b/src/weight_windows.cpp index 32886436a..e742d48c3 100644 --- a/src/weight_windows.cpp +++ b/src/weight_windows.cpp @@ -260,6 +260,7 @@ WeightWindow WeightWindows::get_weight_window(const Particle& p) const ww.lower_weight = lower_ww_[ww_index]; ww.upper_weight = upper_ww_[ww_index]; ww.survival_weight = ww.lower_weight * survival_ratio_; + ww.max_lb_ratio = max_lb_ratio_; ww.max_split = max_split_; ww.weight_cutoff = weight_cutoff_; return ww;