From 680c2e56aa36db1b4afdb0a33f9a2feab3de6691 Mon Sep 17 00:00:00 2001 From: Lena Salfenmoser Date: Thu, 13 Jul 2023 14:29:47 +0200 Subject: [PATCH] corrected index of rates_exc in computation of IA_rhs --- neurolib/models/aln/timeIntegration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neurolib/models/aln/timeIntegration.py b/neurolib/models/aln/timeIntegration.py index 124dd0eb..67fc19b5 100644 --- a/neurolib/models/aln/timeIntegration.py +++ b/neurolib/models/aln/timeIntegration.py @@ -514,7 +514,7 @@ def timeIntegration_njit_elementwise( mufi_rhs = (mui - mufi[no]) / tau_inh # rate has to be kHz - IA_rhs = (a * (Vmean_exc - EA) - IA[no, i - 1] + tauA * b * rates_exc[no, i] * 1e-3) / tauA + IA_rhs = (a * (Vmean_exc - EA) - IA[no, i - 1] + tauA * b * rates_exc[no, i-1] * 1e-3) / tauA # EQ. 4.43 if distr_delay: