sortFirst(): only change the return value once, not at every iteration
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 14 Feb 2017 21:50:42 +0000 (22:50 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 14 Feb 2017 21:50:42 +0000 (22:50 +0100)
commit9bd6197002ea6286b8542d185dda98dc3a330cbe
treee5d0de791a0df1f680eaab4048c24ebebd6f517d
parentf81720f21cd1d9fed5bfc983061445f54396fe8a
sortFirst(): only change the return value once, not at every iteration
when a permutation is done.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
exo1/exo1.c