mirror of
https://github.com/golang/go
synced 2024-11-24 22:00:09 -07:00
life: fix for new slice rules
R=golang-dev, adg, rsc CC=golang-dev https://golang.org/cl/2341049
This commit is contained in:
parent
2a7019894a
commit
cc5c2ee0ec
@ -29,7 +29,7 @@ func main() {
|
||||
}
|
||||
}
|
||||
|
||||
life.Run(*gen, *dim, *dim, &a)
|
||||
life.Run(*gen, *dim, *dim, a[:])
|
||||
|
||||
for i := 0; i < *dim; i++ {
|
||||
for j := 0; j < *dim; j++ {
|
||||
|
Loading…
Reference in New Issue
Block a user