Skip to content

Commit c38ec1c

Browse files
authored
Update README.md (#38)
Redefine x so that y is increasing order. This is required for the multidimensional integration example to work.
1 parent 0558815 commit c38ec1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Do note that while the code is trivial, it has not been extensively tested and d
1515

1616
```julia
1717
# setup some data
18-
x = collect(-π : π/1000 : π)
18+
x = collect(-π/2 : π/1000 : π/2)
1919
y = sin.(x)
2020

2121
# integrate using the default Trapezoidal method

0 commit comments

Comments
 (0)