Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed small bug when refreshing the update seq

  • Loading branch information...
commit 70ba61137b8fdd7d226b2cbc83aa3c43b43ddc43 1 parent 0cf2b6f
@bertschi authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/probabilistic_clojure/embedded/api.clj
View
2  src/probabilistic_clojure/embedded/api.clj
@@ -574,7 +574,7 @@ Anytime the topology has changed it is recomputed anyways."
(letfn [(samples [choice-points idx num-accepted num-top-changed update-seq selection-dist]
(lazy-seq
(let [update-seq (or (seq update-seq)
- (new-update-sequence choice-points))
+ (new-update-sequence (prob-choice-dist choice-points)))
val (cp-value cp choice-points)
[next-choice-points status same-topology next-selection-dist]
Please sign in to comment.
Something went wrong with that request. Please try again.