Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Fun.jl
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,7 @@

function chop!(sp::UnivariateSpace,cfs,tol::Real)
n=standardchoplength(cfs,tol)
n=max(1,n) # empty coeffs vector causes all sorts of problems

Check warning on line 489 in src/Fun.jl

View check run for this annotation

Codecov / codecov/patch

src/Fun.jl#L489

Added line #L489 was not covered by tests
resize!(cfs,n)
cfs
end
Expand Down