Fixed a small bug in float-typed arrays.