Skip to content

Commit 540c97b

Browse files
authored
Depend on Statistics instead of StatsBase (#1221)
1 parent bc25e2c commit 540c97b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ NaNMath = "77ba4419-2d1f-58cd-9bb1-8ffee604a2e3"
1313
PositiveFactorizations = "85a6dd25-e78a-55b7-8502-1745935b8125"
1414
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
1515
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
16-
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
16+
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
1717

1818
[weakdeps]
1919
MathOptInterface = "b8f27783-ece8-5eb3-8dc8-9495eed66fee"
@@ -44,7 +44,7 @@ RecursiveArrayTools = "3.39"
4444
ReverseDiff = "1.16.1"
4545
SparseArrays = "<0.0.1, 1.6"
4646
StableRNGs = "1.0.3"
47-
StatsBase = "0.29, 0.30, 0.31, 0.32, 0.33, 0.34"
47+
Statistics = "<0.0.1, 1"
4848
Test = "<0.0.1, 1.6"
4949
julia = "1.10"
5050

src/Optim.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ using NLSolversBase:
4545
hv_product!
4646

4747
# var for NelderMead
48-
import StatsBase: var
48+
using Statistics: var
4949

5050
import ADTypes
5151

0 commit comments

Comments
 (0)