Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix edge cases in variable_for_loop
authorMaxwell Pirtle <maxwellpirtle@gmail.com>
Mon, 6 Mar 2023 14:28:05 +0000 (15:28 +0100)
committerMaxwell Pirtle <maxwellpirtle@gmail.com>
Mon, 6 Mar 2023 14:28:05 +0000 (15:28 +0100)
commit16d193aba087abf10fa87f418a11fc9406bdf476
treea95f7ace47aff765e0bbefcdea083dae8f94fd28
parent6582744db5a014857b7a914815b147e88adead81
Fix edge cases in variable_for_loop

Some tests were added which detected an off-by-one
error in the implementation logic of the variable_for_loop.
Subsequent commits will add more tests to the iterator
for further verification
src/xbt/utils/iter/subsets_tests.cpp
src/xbt/utils/iter/variable_for_loop.hpp