Skip to content

Commit 9bf75f0

Browse files
committed
Fix indexing in values
1 parent c739c39 commit 9bf75f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc/distributions/timeseries.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ def normal_logp(value, mu, sigma):
311311
init_logp = normal_logp(value[0] - init, mu, sigma)
312312

313313
# Create logp calculation graph for innovations
314-
stationary_vals = at.diff(value[1:])
314+
stationary_vals = at.diff(value)
315315
innov_logp = normal_logp(stationary_vals, mu, sigma)
316316

317317
# Return both calculation logps in a vector

0 commit comments

Comments
 (0)