fixed bug where float * vec = float