statsmodels/statsmodels — pull request #1955 by kshedden (2014-09-08 12:38:06+00:00)
Title: BUG: Fix exception in lasso when no variables are selected

Currently if the L1 penalty is large enough so that no variables are selected, there is an exception. This fixes the problem.