fixed assignment of float array access