Skip to content

Commit

Permalink
Merge pull request #786 from avik-pal/patch-1
Browse files Browse the repository at this point in the history
Fix type instability from non-constant global
  • Loading branch information
ChrisRackauckas authored Dec 6, 2023
2 parents a11654f + c29cb2e commit 95feea4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ In comparison, Roots.jl:
```julia
using Roots, BenchmarkTools

N = 100_000;
const N = 100_000;
levels = 1.5 .* rand(N);
out = zeros(N);
myfun(x, lv) = x * sin(x) - lv
Expand Down

0 comments on commit 95feea4

Please sign in to comment.