From a139315858a9ca0b0f4cadfafac4243a1090ff2e Mon Sep 17 00:00:00 2001 From: john verzani Date: Thu, 31 Dec 2015 19:20:52 -0500 Subject: [PATCH] update linspace to n=50, from n=100 to match code. Fix to documentation for linspace linspace is defined in https://github.com/JuliaLang/julia/blob/master/base/range.jl#L235 to have a default of n=50 points, not n=100. --- base/docs/helpdb/Base.jl | 2 +- doc/stdlib/arrays.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/base/docs/helpdb/Base.jl b/base/docs/helpdb/Base.jl index a7617d6604dba..aab18b8e1f570 100644 --- a/base/docs/helpdb/Base.jl +++ b/base/docs/helpdb/Base.jl @@ -537,7 +537,7 @@ Ac_rdiv_B """ - linspace(start, stop, n=100) + linspace(start, stop, n=50) Construct a range of `n` linearly spaced elements from `start` to `stop`. """ diff --git a/doc/stdlib/arrays.rst b/doc/stdlib/arrays.rst index 35387ca6ba812..32705a2d16e4a 100644 --- a/doc/stdlib/arrays.rst +++ b/doc/stdlib/arrays.rst @@ -269,7 +269,7 @@ Constructors Constructs an identity matrix of the same dimensions and type as ``A``\ . -.. function:: linspace(start, stop, n=100) +.. function:: linspace(start, stop, n=50) .. Docstring generated from Julia source