Skip to content

Commit

Permalink
Update README.md (#38)
Browse files Browse the repository at this point in the history
Redefine x so that y is increasing order. This is required for the multidimensional integration example to work.
  • Loading branch information
m-wells authored Mar 8, 2021
1 parent 0558815 commit c38ec1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Do note that while the code is trivial, it has not been extensively tested and d

```julia
# setup some data
x = collect(-π : π/1000 : π)
x = collect(-π/2 : π/1000 : π/2)
y = sin.(x)

# integrate using the default Trapezoidal method
Expand Down

0 comments on commit c38ec1c

Please # to comment.