Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Commit 8b91549

Browse files
authored
Merge pull request #412 from BlueBrain/replace_axon_D2
Make sure D2 is defined in unlikely scenario
2 parents 4c86452 + 30644fb commit 8b91549

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bluepyopt/ephys/morphologies.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def replace_axon(sim=None, icell=None):
208208
} else if(nSec == 1) {
209209
axon[0] D1 = D2 = diam
210210
} else {
211-
axon[0] D1 = diam
211+
axon[0] D1 = D2 = diam
212212
soma distance() //to calculate distance from soma
213213
forsec axonal{
214214
//if section is longer than 60um then store diam and exit from loop

0 commit comments

Comments
 (0)