Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
BillHuang2001 committed Oct 11, 2023
1 parent dc562ca commit 540afd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/evox/problems/numerical/maf.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def point_in_polygon(polygon, point):
is_intersect = vmap(ray_intersect_segment, in_axes=(None, 0, 0))(
point, polygon, seg_term
)
return jnp.sum(is_interact) % 2 == 1
return jnp.sum(is_intersect) % 2 == 1


@evox.jit_class
Expand Down

0 comments on commit 540afd6

Please sign in to comment.