BUG: get_tau_sigma
does not support list of variables
#6987
Labels
get_tau_sigma
does not support list of variables
#6987
Describe the issue:
The function
get_tau_sigma
indistributions/continuous.py
does not properly handle lists ofVariable
s. When a list is passed, the function attempts to convert it to anumpy
array before checking for positivity (N.B. the positivity check does not occur if aVariable
is passed).Reproduceable code example:
Error message:
PyMC version information:
5.9.1+3.gec4407d3
Context for the issue:
Since the distributions that use
get_tau_sigma
(e.g.,NormalMixture
) state thatsigma
andtau
should betensor_like
, and sincetensor_like
includes lists and other iterables, this is a bug.The text was updated successfully, but these errors were encountered: