Open jolars opened 2 years ago
Consider this line:
https://github.com/JuliaStats/Lasso.jl/blob/ea7415134a69c085d4c9315a4b8111b172cd5c0a/src/coordinate_descent.jl#L619
It would be much better and more kosher to use throw() along with a proper exception.
throw()
As an alternative, which I actually think makes more sense, you could just throw a warning instead.
Consider this line:
https://github.com/JuliaStats/Lasso.jl/blob/ea7415134a69c085d4c9315a4b8111b172cd5c0a/src/coordinate_descent.jl#L619
It would be much better and more kosher to use
throw()
along with a proper exception.As an alternative, which I actually think makes more sense, you could just throw a warning instead.