Skip to content

Commit

Permalink
DO NOT SUBMIT
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 384554482
  • Loading branch information
jburnim authored and DistraxDev committed Jul 13, 2021
1 parent 6da6162 commit d2a8fc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions distrax/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
from distrax._src.distributions.transformed import Transformed
from distrax._src.distributions.uniform import Uniform


# Utilities.
from distrax._src.utils.conversion import as_bijector
from distrax._src.utils.conversion import as_distribution
Expand Down
1 change: 1 addition & 0 deletions distrax/_src/bijectors/bijector.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ def __init__(self,
Only set to True if you're absoltely sure the Jacobian determinant is
constant; if you're not sure, set to None.
"""

if event_ndims_out is None:
event_ndims_out = event_ndims_in
if event_ndims_in < 0:
Expand Down

0 comments on commit d2a8fc5

Please sign in to comment.