assign -inf to vec after call to xlogy
pep8 fix