If vec is a dyadic equal to 0, we don't want to return a 0-vector, but a 0-dyadic.