Skip to content

Commit

Permalink
Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
goerz committed Nov 27, 2023
1 parent 282b0bd commit 878e65d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/random.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/test_random.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 878e65d

Please sign in to comment.