Skip to content

Commit 7789f5a

Browse files
committed
Bugfix to diff ev mcmcm proposal.
1 parent cff2e44 commit 7789f5a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pints/_mcmc/_differential_evolution.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ def ask(self):
7777
self._proposed[j] = (
7878
self._current[j]
7979
+ self._gamma * (self._current[r1] - self._current[r2])
80-
+ np.random.normal(0, self._b * self._mu, self._mu.shape)
80+
+ np.random.normal(
81+
0, np.abs(self._b * self._mu), self._mu.shape)
8182
)
8283

8384
# Set as read only

0 commit comments

Comments
 (0)