Skip to content

Commit 331ec2f

Browse files
committed
Use all() in example block
A `true` will provide more info than a truncated representation of a 63-BitVector.
1 parent 8cb696e commit 331ec2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/tutorials/numerical_integrals.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ For example, we can create our own sine function by integrating the cosine funct
125125
using Integrals
126126
my_sin(x) = solve(IntegralProblem((x, p) -> cos(x), (0.0, x)), QuadGKJL()).u
127127
x = 0:0.1:(2 * pi)
128-
@. my_sin(x) ≈ sin(x)
128+
all(@. my_sin(x) ≈ sin(x))
129129
```
130130

131131
## Infinity handling

0 commit comments

Comments
 (0)