Please take a look at the values below
.................
[31,] 30.000000000000000 30.000000000000000
[32,] 31.000000000000000 31.000000000000000
[33,] 32.000000000000000 32.000000000000000
[34,] 33.000000000000000 33.000000000000000
[35,] 34.000000000000000 34.000000000000000
[36,] 35.000000000000000 35.000000000000000
[37,] 35.999999999999872 35.999999999999872


These are entries in an array. These values are used as indexes inside a matrix. 
f[shweights[37,1],shweights[37,2]] works fine for me and returns correctly the value.

but when I try
f[shweights[,1],shweights[,2]]
I only get 36 out of 37 results (seems that in that case ignores the last values, 37th)
.....
[35,]  2.7245297165175781 
[36,]  2.7245297165175781

Why this might be happening?
Regards
Alex



      
	[[alternative HTML version deleted]]

