fixed local init of float array promote ints to float