Skip to content

Commit

Permalink
Update solve.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
alkino authored Dec 7, 2024
1 parent 33903e9 commit c26ef21
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/nrnoc/solve.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -736,12 +736,9 @@ void section_order(void) /* create a section order consistent */
{
int order, isec;
Section* ch;
hoc_Item* qsec;

/* count the sections */
section_count = 0;
/*SUPPRESS 765*/
// ForAllSections(sec)
for (Section* sec: range_sec(section_list)) {
sec->order = -1;
++section_count;
Expand All @@ -765,8 +762,6 @@ void section_order(void) /* create a section order consistent */

for (isec = 0; isec < section_count; isec++) {
if (isec >= order) {
// Sections form a loop.
// ForAllSections(sec)
for (Section* sec: range_sec(section_list)) {
Section *psec, *s = sec;
for (psec = sec->parentsec; psec; s = psec, psec = psec->parentsec) {
Expand Down

0 comments on commit c26ef21

Please sign in to comment.