Skip to content

Commit

Permalink
Bump to 0.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
getzze committed Oct 22, 2021
1 parent 667297c commit 58be72a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
fail-fast: false
matrix:
version:
- '1.0'
- '1.1'
- '1' # latest stable 1.x release
- 'nightly'
os:
Expand Down
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
v0.4.2 (2021-10-22)
-------------------
* Minimal compatibility set to julia 1.1 (because of Tulip.jl>=0.6)

v0.4.1 (2021-09-19)
-------------------
* Correctly handle multidimensional arrays with univariate robust functions.
Expand Down
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "RobustModels"
uuid = "d6ea1423-9682-4bbd-952f-b1577cbf8c98"
authors = ["bertrand <[email protected]>"]
version = "0.4.1"
version = "0.4.2"

[deps]
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
Expand All @@ -20,7 +20,7 @@ StatsModels = "3eaba693-59b7-5ba5-a881-562e759f1c8d"
Tulip = "6dd1b50a-3aae-11e9-10b5-ef983d2400fa"

[compat]
julia = "1.0"
julia = "1.1"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Expand Down
3 changes: 2 additions & 1 deletion src/univariate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,14 @@ end
function _model_from_univariate(
est::AbstractEstimator,
x::AbstractVector;
method=:cg, # use :cg instead of :chol to avoid PosDefException
dims=nothing, # explicit, so it is not passed to `rlm`
kwargs...,
)

check_l1loss(est)
X = ones(eltype(x), (size(x, 1), 1))
m = rlm(X, x, est; kwargs...)
m = rlm(X, x, est; method=method, kwargs...)
end

function _mean(est::AbstractEstimator, x::AbstractVector; kwargs...)
Expand Down

0 comments on commit 58be72a

Please sign in to comment.