Skip to content

Commit

Permalink
Fixed bug that occurs when tanh_model=False passed to ModelGrid
Browse files Browse the repository at this point in the history
  • Loading branch information
mirochaj committed Jun 27, 2016
1 parent 7e69c8f commit f60a3da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ares/inference/ModelGrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def tanh(self):
if 'tanh_model' in self.base_kwargs:
if self.base_kwargs['tanh_model']:
self._tanh = True
else:
self._tanh = False
else:
self._tanh = False
return self._tanh
Expand Down

0 comments on commit f60a3da

Please sign in to comment.