Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
cscherrer committed Aug 1, 2024
1 parent a904d2f commit 061fb33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/misc/func.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ pub fn ln_pflips<R: Rng>(
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.
Expand Down

0 comments on commit 061fb33

Please sign in to comment.