From 878e65d47311db58dc8fd97abb35cd1730c1d8f3 Mon Sep 17 00:00:00 2001 From: Michael Goerz Date: Mon, 27 Nov 2023 11:53:02 -0500 Subject: [PATCH] Typos --- src/random.jl | 2 +- test/test_random.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/random.jl b/src/random.jl index df80145..c059deb 100644 --- a/src/random.jl +++ b/src/random.jl @@ -145,7 +145,7 @@ larger `N`, the more tightly the envelope will fit. * `spectral_envelope=1.0`: An upper bound for the spectral radius for the generator evaluated at different points in time. For large `N`, the spectral envelope should be approximately touched for the extremal pulse amplitudes, - ±1. Note that the *average* spectral radius is always well withing the + ±1. Note that the *average* spectral radius is always well within the spectral_envelope`) * `exact_spectral_envelope=false`: If true, the spectral radius when plugging in the extremal pulse amplitudes ±1 will touch exactly the specified diff --git a/test/test_random.jl b/test/test_random.jl index 04bcd52..1f6b8e3 100644 --- a/test/test_random.jl +++ b/test/test_random.jl @@ -14,7 +14,7 @@ N = 100 relerr(a, b) = abs(a - b) / max(abs(a), abs(b)) -# How close do eigenvalues have to be to spectral radius? The larer N, the +# How close do eigenvalues have to be to spectral radius? The larger N, the # smaller rtol can be ≊(a, b) = isapprox(a, b; rtol=0.1) # for larger N, rtol could be smaller