Skip to content

Commit

Permalink
fix cyclic import
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrine authored and twiecki committed Jan 14, 2017
1 parent d844665 commit 16b00c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymc3/distributions/distribution.py
Expand Up @@ -2,7 +2,6 @@
import theano.tensor as tt
from theano import function

from . import transforms
from ..memoize import memoize
from ..model import Model, get_named_nodes
from ..vartypes import string_types
Expand Down Expand Up @@ -384,6 +383,7 @@ class Bounded(Distribution):
"""

def __init__(self, distribution, lower, upper, transform='infer', *args, **kwargs):
import pymc3.distributions.transforms as transforms
self.dist = distribution.dist(*args, **kwargs)

self.__dict__.update(self.dist.__dict__)
Expand Down

0 comments on commit 16b00c5

Please sign in to comment.