To a program with
for row := 0; row < N; row++ {
for col := 0; col < N; col++ {
for qrow := 0; qrow < N; qrow++ {
for qcol := 0; qcol < N; qcol++ {
I applied "go fix" and correctly got
for row := range N {
for col := range N {
for qrow := range N {
for qcol := range N {
Very nice. But when I modified it to
for row := 1; row < N; row++ {
for col := 2; col < N; col++ {
for qrow := 3; qrow < N; qrow++ {
for qcol := 4; qcol < N; qcol++ {
I got the same output what is obviously wrong.
Did I overlook something trivial?
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/golang-nuts/270adbf5-d1fe-4227-bd8b-dc6674292e3dn%40googlegroups.com.