Julia uses 1-based indexing by default. So try initializing with s = [...] .+ 1 and e = [...] .+ 1
2 Likes
Julia uses 1-based indexing by default. So try initializing with s = [...] .+ 1 and e = [...] .+ 1