From b3f9d192ab5125c1cb437d7e26e5c3258d27f82c Mon Sep 17 00:00:00 2001 From: Andreas Noack Date: Sat, 7 Sep 2019 20:50:04 +0200 Subject: [PATCH] Fix docs (#519) --- .travis.yml | 1 - docs/make.jl | 2 +- docs/src/means.md | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index bba54c4f1ce6a..441c172bdab4c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,4 +27,3 @@ jobs: Pkg.instantiate()' - julia --project=docs/ docs/make.jl after_success: skip - diff --git a/docs/make.jl b/docs/make.jl index 8371203129163..11e5613065993 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -1,4 +1,4 @@ -using Documenter, StatsBase, Statistics, Random +using Documenter, StatsBase, Statistics, Random, LinearAlgebra # Workaround for JuliaLang/julia/pull/28625 if Base.HOME_PROJECT[] !== nothing diff --git a/docs/src/means.md b/docs/src/means.md index 47b9ff08901e4..638f505a2f2af 100644 --- a/docs/src/means.md +++ b/docs/src/means.md @@ -12,6 +12,6 @@ The `mean` and `mean!` functions are also extended to accept a weight vector of `AbstractWeights` to compute weighted mean. ```@docs -Statistics.mean(A::AbstractArray, w::AbstractWeights) -Statistics.mean!(R::AbstractArray, A::AbstractArray, w::AbstractWeights, dim::Int) +mean +mean! ```