Skip to content

Commit

Permalink
Merge pull request #380 from JBorrow/patch-1
Browse files Browse the repository at this point in the history
Fix np.float deprecation
  • Loading branch information
dfm committed Feb 18, 2021
2 parents 408f422 + 3760f11 commit f0489d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/emcee/backends/backend.py
Expand Up @@ -14,7 +14,7 @@ class Backend(object):
def __init__(self, dtype=None):
self.initialized = False
if dtype is None:
dtype = np.float
dtype = np.float64
self.dtype = dtype

def reset(self, nwalkers, ndim):
Expand Down

0 comments on commit f0489d7

Please sign in to comment.