Skip to content

Commit

Permalink
Corrected another error in which, for device sorting, "M" was set
Browse files Browse the repository at this point in the history
to 1 before the loop over devices in "run", resulting in "M"
taking the value of the previous property record if the following
record did not have an "M" value, instead of setting it to 1.
  • Loading branch information
RTimothyEdwards committed Apr 4, 2024
1 parent 3d180f7 commit fd0c8c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/netcmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -4467,9 +4467,9 @@ void parallel_sort(struct objlist *ob1, struct nlist *tp1, int idx1, int run)
proplist = (propsort *)MALLOC(run * sizeof(propsort));

obp = obn;
mval = 1;
pval = aval = oval = 0.0;
for (i = 0; i < run; i++) {
mval = 1;
has_crit = FALSE;
merge_type = MERGE_NONE;
ca = co = (char)0;
Expand Down

0 comments on commit fd0c8c8

Please sign in to comment.