Skip to content

Commit 2f2a82c

Browse files
committed
Fix docstring of intersection
1 parent b82ef78 commit 2f2a82c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/intersections.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ and apply function `f` to it. Default function is `identity`.
8282
8383
```julia
8484
intersection(g₁, g₂) do I
85-
if I isa CrossingLines
85+
if type(I) == CrossingLines
8686
# do something
8787
else
8888
# do nothing

0 commit comments

Comments
 (0)