Skip to content
Snippets Groups Projects
Commit 2c179af0 authored by SebastianBruijns's avatar SebastianBruijns
Browse files

datatype change for newer numpy version

parent bc2f6dc3
Branches working
No related tags found
No related merge requests found
......@@ -167,7 +167,7 @@ class Dynamic_GLM(GibbsSampling):
# R is the variance on the observations in Kalman filtering. According to Windle, that is 1 / omega here
self.R = np.zeros(total_types)
mask = np.ones(total_types, dtype=np.bool)
mask = np.ones(total_types, dtype=bool)
mask[fake_times] = False # during fake times, we make no observations, so no variance
self.R[mask] = 1 / omega
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment