Fix type: array of int cannot be used as argument for array of float