Fix qpms_vswf_set_reindex().
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Stupid typo with possibly serious consequences...
This commit is contained in:
parent
f9620e1d11
commit
53764f3dd1
|
@ -131,7 +131,7 @@ size_t *qpms_vswf_set_reindex(const qpms_vswf_set_spec_t *small, const qpms_vswf
|
||||||
while(big_pairs[bi].ui < small_pairs[si].ui)
|
while(big_pairs[bi].ui < small_pairs[si].ui)
|
||||||
++bi;
|
++bi;
|
||||||
if(big_pairs[bi].ui == small_pairs[si].ui)
|
if(big_pairs[bi].ui == small_pairs[si].ui)
|
||||||
r[small_pairs[si].i_orig] = big_pairs[si].i_orig;
|
r[small_pairs[si].i_orig] = big_pairs[bi].i_orig;
|
||||||
else
|
else
|
||||||
r[small_pairs[si].i_orig] = ~(size_t)0;
|
r[small_pairs[si].i_orig] = ~(size_t)0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue