From 061fb336df25c7f255797de7c506dad5ee099a39 Mon Sep 17 00:00:00 2001 From: Chad Scherrer Date: Thu, 1 Aug 2024 08:46:28 -0700 Subject: [PATCH] minor update --- src/misc/func.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/misc/func.rs b/src/misc/func.rs index 8c0c5f1..c7b73f0 100644 --- a/src/misc/func.rs +++ b/src/misc/func.rs @@ -297,7 +297,7 @@ pub fn ln_pflips( let z = if normed { 0.0 } else { - ln_weights.iter().copied().logsumexp() + ln_weights.iter().logsumexp() }; // doing this instead of calling pflips shaves about 30% off the runtime.