Skip to content

Commit 9625a61

Browse files
Update src/methods.jl
Co-Authored-By: willtebbutt <wt0881@my.bristol.ac.uk>
1 parent deaae75 commit 9625a61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/methods.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ end
157157

158158
# Compute coefficients for the method
159159
function _coefs(grid::AbstractVector{<:Real}, p::Integer, q::Integer)
160-
# For high precision on the \ we use Rational, and to prevent overfloats we use Int128
160+
# For high precision on the \ we use Rational, and to prevent overflows we use Int128
161161
# At the end we go to Float64 for fast floating point math (rather than rational math)
162162
C = [Rational{Int128}(g^i) for i in 0:(p - 1), g in grid]
163163
x = zeros(Rational{Int128}, p)

0 commit comments

Comments
 (0)