simon-git: puzzles (main): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Fri Apr 21 09:33:45 BST 2023


TL;DR:
  20606f0 Filling: switch to using dsf_minimal in minimize_clue_set.

Repository:     https://git.tartarus.org/simon/puzzles.git
On the web:     https://git.tartarus.org/?p=simon/puzzles.git
Branch updated: main
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2023-04-21 09:33:45

commit 20606f0fea14fecae55efa7fef4314a2f999ddc3
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=20606f0fea14fecae55efa7fef4314a2f999ddc3;hp=ce203c12efe0e10445a3be56c4308db42d9086c8
Author: Simon Tatham <anakin at pobox.com>
Date:   Fri Apr 21 09:26:14 2023 +0100

    Filling: switch to using dsf_minimal in minimize_clue_set.
    
    Turns out that was another case where we were assuming the canonical
    dsf element was also the minimal one, because we process the clues in
    order and expect to start a linked list at the canonical element of
    each region and then add the rest of the cells to the existing one.
    
    Easily fixed by using the minimal element again.

 filling.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)



More information about the tartarus-commits mailing list