Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pymdp/legacy/maths.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def dot_likelihood(A,obs):
s[0] = obs.shape[0]
X = A * obs.reshape(tuple(s))
X = np.sum(X, axis=0, keepdims=True)
LL = np.squeeze(X)
LL = np.squeeze(X, axis=0)

# check to see if `LL` is a scalar
if np.prod(LL.shape) <= 1.0:
Expand Down
Loading