Skip to content

TypeError when passing list of values as sigma #5745

Closed
@ricardoV94

Description

@ricardoV94

get_tau_sigma used in many of our distributions fails with a TypeError when passing a list of values. We should probably fix this for better user experience:

import pymc as pm:
pm.Normal.dist(sigma=[1, 2])
TypeError: unsupported operand type(s) for ** or pow(): 'list' and 'float'

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions