Silence Deprecation warning

A  bit trivial, but I was getting stdout clutter when I ran it, because the array indices were floats, rather than integers