From b539a34be3e89318f380377b54c3579d6983f675 Mon Sep 17 00:00:00 2001
From: Maximilian Schmidt <max.schmidt@fz-juelich.de>
Date: Wed, 30 May 2018 10:03:03 +0900
Subject: [PATCH] Fix wrong forward of input_params call in Theory class

---
 multiarea_model/theory.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/multiarea_model/theory.py b/multiarea_model/theory.py
index 94f7627..6911e31 100644
--- a/multiarea_model/theory.py
+++ b/multiarea_model/theory.py
@@ -198,7 +198,7 @@ class Theory:
                                                      self.network.structure)
         elif self.network.params['connection_params']['replace_cc'] == 'hom_poisson_stat':
             self.cc_input_rates = (np.ones(self.network.K_matrix.shape[0]) *
-                                   self.network.network.params['input_params']['rate_ext'])
+                                   self.network.params['input_params']['rate_ext'])
         for area in self.network.area_list:
             area_dim = len(self.network.structure[area])
             mask = create_mask(self.network.structure,
-- 
GitLab