scipy/scipy — pull request #4344 by ChadFulton (2014-12-31 05:11:09+00:00)
Title: BUG: Fix/test invalid lwork param in qr

Fixes `lwork` parameter in qr being overwritten by `lwork=-1`. Adds tests for valid and invalid `lwork` parameters.

See issue #4100.