Gofmt.
This commit is contained in:
parent
a1bf6ec0ff
commit
0b1fbb5423
4 changed files with 7 additions and 5 deletions
|
|
@ -123,7 +123,7 @@ func AnySize() sizes {
|
|||
// OddSizes generates square (width = height) board sizes with an odd number of positions
|
||||
// in the vertical and horizontal directions.
|
||||
// Examples:
|
||||
// - OddSizes(11,21) produces [(11,11), (13,13), (15,15), (17,17), (19,19), (21,21)]
|
||||
// - OddSizes(11,21) produces [(11,11), (13,13), (15,15), (17,17), (19,19), (21,21)]
|
||||
func OddSizes(min, max int) sizes {
|
||||
var s sizes
|
||||
for i := min; i <= max; i += 2 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue