Skip to content

Commit e132adc

Browse files
committed
Fix emcee
1 parent 62b638e commit e132adc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/emcee.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ function move(
9090
alphamult = (n - 1) * log(z)
9191

9292
# Make new parameters
93-
y = @. walker.params + z * (other_walker.params - walker.params)
93+
y = @. other_walker.params + z * (walker.params - other_walker.params)
9494

9595
# Construct a new walker
9696
new_walker = Transition(model, y)
@@ -215,4 +215,4 @@ end
215215
# theta = theta_min + (theta_max - theta_min) * rand()
216216
# end
217217
# end
218-
# end
218+
# end

0 commit comments

Comments
 (0)