You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.
Applying an AffineTransform which shifts by +1 to a U[0,0.1] distribution should produce a U[1, 1.1] distribution. However, it appears that the samples being produced are all "0" after the transform.
Issue Description
Applying an
AffineTransform
which shifts by +1 to a U[0,0.1] distribution should produce a U[1, 1.1] distribution. However, it appears that the samples being produced are all "0" after the transform.The 0s are set https://github.com/facebookincubator/beanmachine/blob/master/beanmachine/ppl/world/variable.py#L106. It looks like the distribution's
.support
isInterval(0, 0.1)
before applying the transform and_Real
after applying it.Steps to Reproduce
Happy path
Output
Sad path (the only difference is the
AffineTransform
)Output
Expected Behavior
The second example should produce samples from U[1.0, 1.1].
The text was updated successfully, but these errors were encountered: