From a636e6a6fcbe59ed00f74f111d1179a0f2229756 Mon Sep 17 00:00:00 2001 From: Michel Tilman Date: Sat, 29 Jun 2019 13:21:35 +0200 Subject: [PATCH] Updates README --- README.md | 2 +- Sources/DancingLinks/Examples/Sudoku/SudokuSolver.swift | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 20fa77b..c774cb1 100644 --- a/README.md +++ b/README.md @@ -52,4 +52,4 @@ All benchmarks used release builds with full enforcement of exclusive access to # Requirements -The code has been tested with the Swift 5.1 Snapshot 2019-05-29 XCode toolchain. +The code has been tested with the Swift 5.1 Snapshot 2019-06-28 XCode toolchain and XCode 11.0 beta 2. diff --git a/Sources/DancingLinks/Examples/Sudoku/SudokuSolver.swift b/Sources/DancingLinks/Examples/Sudoku/SudokuSolver.swift index 31cd7ea..1633801 100644 --- a/Sources/DancingLinks/Examples/Sudoku/SudokuSolver.swift +++ b/Sources/DancingLinks/Examples/Sudoku/SudokuSolver.swift @@ -109,6 +109,7 @@ class SudokuSolver { for row in solution.rows { values[row.index] = row.value } + return Sudoku(values: values, dimensions: sudoku.dimensions) }