Skip to content

Commit

Permalink
Update conditional_mixture_gaussian_node.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman223 authored Oct 11, 2023
1 parent bfcabda commit 2a1e1be
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 @@ -166,7 +166,7 @@ def choose(

n_comp = len(w)

if np.isna(w):
if np.isnan(w):
return np.nan

gmm = GMM(
Expand Down

0 comments on commit 2a1e1be

Please sign in to comment.