Prevent infinity result

It is a bit paradoxical - though there's precedent: http://legacy.earlham.edu/~peters/courses/log/mat-imp.htm - so I think -1 is a better option.