Skip to content

Commit

Permalink
Merge pull request USEPA#13 from ucchejbb/master
Browse files Browse the repository at this point in the history
Update msxqual.c, PR accepted, merging.
  • Loading branch information
ucchejbb authored Mar 20, 2024
2 parents ebabedf + 32a3417 commit fbfe90f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/solver/msxqual.c
Original file line number Diff line number Diff line change
Expand Up @@ -1457,7 +1457,8 @@ void evalnodeinflow(int k, double tstep, double* volin, double* massin)
MSX.FirstSeg[k] = seg->prev;
MSX.Link[k].nsegs--;
if (MSX.FirstSeg[k] == NULL) MSX.LastSeg[k] = NULL;

else MSX.FirstSeg[k]->next = NULL; //03/19/2024 added to break the linked segments

// ... recycle the used up segment
seg->prev = MSX.FreeSeg;
MSX.FreeSeg = seg;
Expand Down

0 comments on commit fbfe90f

Please sign in to comment.