Commit cc5c2ee0 authored by Graham Miller's avatar Graham Miller Committed by Russ Cox

life: fix for new slice rules

R=golang-dev, adg, rsc
CC=golang-dev
https://golang.org/cl/2341049
parent 2a701989
......@@ -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++ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment