Skip to content

Commit

Permalink
Trivial fix for #74
Browse files Browse the repository at this point in the history
  • Loading branch information
kudkudak committed Jun 10, 2016
1 parent 85f833d commit c7ead3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edward/models/variationals.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Variational:
"""A stack of variational families."""
def __init__(self, layers=[]):
get_session()
self.layers = layers
self.layers = list(layers)
if layers == []:
self.num_factors = 0
self.num_vars = 0
Expand Down

0 comments on commit c7ead3b

Please sign in to comment.