scipy/scipy — pull request #3788 by Jacobcvt12 (2014-07-12 05:05:36+00:00)
Title: BUG: Fix lombscargle ZeroDivisionError

Change calculation of tau to use atan2 function instead of atan.

closes gh-3787