mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
Fix an inaccurate comment.
latin_solver_diff_set takes a boolean input parameter to indicate whether the 'Extreme'-level variant of set elimination is permitted. But it's commented in the header file as having a boolean _output_ parameter which it sets if it _ended up_ using that variant. Probably the latter was how it worked in an early draft, and I changed my mind later without changing the comment.
This commit is contained in:
4
latin.h
4
latin.h
@ -78,8 +78,8 @@ void latin_solver_free_scratch(struct latin_solver_scratch *scratch);
|
|||||||
/* Looped positional elimination */
|
/* Looped positional elimination */
|
||||||
int latin_solver_diff_simple(struct latin_solver *solver);
|
int latin_solver_diff_simple(struct latin_solver *solver);
|
||||||
|
|
||||||
/* Looped set elimination; *extreme is set if it used
|
/* Looped set elimination; extreme permits use of the more difficult
|
||||||
* the more difficult single-number elimination. */
|
* single-number elimination. */
|
||||||
int latin_solver_diff_set(struct latin_solver *solver,
|
int latin_solver_diff_set(struct latin_solver *solver,
|
||||||
struct latin_solver_scratch *scratch,
|
struct latin_solver_scratch *scratch,
|
||||||
int extreme);
|
int extreme);
|
||||||
|
Reference in New Issue
Block a user