dvec double precision vector instead of integer