Skip to content

Commit

Permalink
Merge pull request #237 from lenasal/aln_rates_index
Browse files Browse the repository at this point in the history
corrected index of rates_exc in computation of IA_rhs
  • Loading branch information
jajcayn committed Jul 13, 2023
2 parents 9f2c077 + c2149f8 commit 05e2880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neurolib/models/aln/timeIntegration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 05e2880

Please sign in to comment.