3rd debugging example (3)

Loop debug output:
a[2,0]=func1(1,0)=1
f1...x-y= 3.0
a[2,1]=func1(1,1)=3
f1...x-y= 1.0
a[2,2]=func1(1,7.15113e-312)=1
f1...x-y= 7.66040480538e-312
a[3,0]=func1(7.6604e-312,0)=7.6604e-312
f1...x-y= 2.0
a[3,1]=func1(7.6604e-312,1)=2
f1...x-y= 2.19626564365e-311
a[3,2]=func1(7.6604e-312,7.15113e-312)=2.19627e-311
Ridiculous values (coordinates) and wrong indices reveal the problem: wrong upper loop limits

previousnexttable of contents