Skip to content

Commit 5e47db4

Browse files
authored
Update README
1 parent 01f0c2b commit 5e47db4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Do note that while the code is trivial, it has not been extensively tested and d
1818
x = collect(-π : π/1000 : π)
1919
y = sin(x)
2020

21-
# integrate using the default Trapezoidal method
21+
# integrate using the default TrapezoidalFast method
2222
integrate(x, y)
2323

2424
# integrate using a specific method
@@ -28,9 +28,9 @@ integrate(x, y, SimpsonEven())
2828
The currently available methods are:
2929
- Trapezoidal
3030
- TrapezoidalEven
31-
- TrapezoidalFast
31+
- TrapezoidalFast (default)
3232
- TrapezoidalEvenFast
3333
- SimpsonEven
3434
- SimpsonEvenFast
3535

36-
All methods containing "Even" in the name assume evenly spaced data. All methods containing "Fast" omit basic correctness checks and focus on performance. Consequently, the fast methods will segfault or produce incorrect results if you supply incorrect data (vectors of different lengths, etc.).
36+
All methods containing "Even" in the name assume evenly spaced data. All methods containing "Fast" omit basic correctness checks and focus on performance. Consequently, the fast methods will segfault or produce incorrect results if you supply incorrect data (vectors of different lengths, etc.).

0 commit comments

Comments
 (0)