From f60a3da6be111b7780eda5bfa9e6122a2933bfda Mon Sep 17 00:00:00 2001 From: Jordan Mirocha Date: Mon, 27 Jun 2016 23:36:25 +0000 Subject: [PATCH] Fixed bug that occurs when tanh_model=False passed to ModelGrid --- ares/inference/ModelGrid.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ares/inference/ModelGrid.py b/ares/inference/ModelGrid.py index 40b1dafdb..58da16046 100644 --- a/ares/inference/ModelGrid.py +++ b/ares/inference/ModelGrid.py @@ -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