special case for empty loss vector