-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Description
Hi!
Just to warn for an issue that happened to me, when using "if data" it was giving me an error because my data variable was a np.array. The issue was in line 140 of the pybasicbayes/pybasicbayes/distributions/multinomial.py file.
In my case, I corrected the issue in a simple way (probably not the best)":
before -> data = data if data else [None]_len(weights)
after -> data = data if list(data) else [None]_len(weights)
If you could resolve this issue, it would be beneficial for the other users.
Best Regards,
jmgo
DanteArucard
Metadata
Metadata
Assignees
Labels
No labels