Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multivariate Gamma returns a single value #331

Closed
samuel-verburg opened this issue Dec 8, 2023 · 0 comments · Fixed by #358
Closed

Multivariate Gamma returns a single value #331

samuel-verburg opened this issue Dec 8, 2023 · 0 comments · Fixed by #358
Assignees
Labels
bug Something isn't working

Comments

@samuel-verburg
Copy link

Description

Only one value is returned when sampling from a multivariate Gamma distribution.

Example to reproduce

import cuqi
from cuqi.distribution import Gamma
d = Gamma(1, 1e-4, geometry=50)
ds = d.sample()
ds

Out[1]:
CUQIarray: NumPy array wrapped with geometry.

Geometry:
_DefaultGeometry1D(50,)

Parameters:
True

Array:
CUQIarray(680.24372138)

@samuel-verburg samuel-verburg added the bug Something isn't working label Dec 8, 2023
@nabriis nabriis linked a pull request Feb 2, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants