astropy/astropy — pull request #2965 by mdboom (2014-09-20 21:57:27+00:00)
Title: Correctly detect and handle invalid input world coordinates.

As reported by Maik Reichert on the Astropy mailing list thread "Bug in wcs_world2pix?"