Jeremy Van Cleve
Jeremy Van Cleve
Seems like one could add `@inbounds` to this line https://github.com/JuliaStats/StatsBase.jl/blob/41669cd8dfeadce35db0c4e07ac7afe5d10fb957/src/sampling.jl#L624 In fact its here already when using alias table sampling for `Categorical` in `Distributions`: https://github.com/JuliaStats/Distributions.jl/blob/d6de7214e6d84df77d1eb3ec7a98d23862d1232d/src/samplers/aliastable.jl#L19
Should work for Phil. Trans. R. Soc. B too
**Describe the bug** When some PDFs are already open for reading, opening a new PDF in the viewer doesn't display correct "Info" tab. Rather, the "Info" tab displayed is for...
```julia julia> using Distributed julia> addprocs(1) 1-element Array{Int64,1}: 2 julia> remote_do(sqrt, 1, -1) julia> remote_do(sqrt, 2, -1) julia> From worker 2: DomainError with -1.0: From worker 2: sqrt will only...