Skip to content

Commit

Permalink
Hot_fix2 for conditional_mixture_gaussian_node
Browse files Browse the repository at this point in the history
Type changed
  • Loading branch information
Roman223 authored Oct 12, 2023
1 parent f67ba4d commit 56c9c58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bamt/nodes/conditional_mixture_gaussian_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def choose(
mean, covariance, w = self.get_dist(node_info, pvals)

# check if w is nan or list of weights
if not isinstance(w, list):
if not isinstance(w, np.ndarray):
return np.nan

n_comp = len(w)
Expand Down

0 comments on commit 56c9c58

Please sign in to comment.