From 540afd6bc84242c01e2ddf98e84a8f4575cd4b5d Mon Sep 17 00:00:00 2001 From: Bill Huang Date: Thu, 12 Oct 2023 00:10:16 +0800 Subject: [PATCH] fix: typo --- src/evox/problems/numerical/maf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/evox/problems/numerical/maf.py b/src/evox/problems/numerical/maf.py index 50b283970..d30f6937a 100644 --- a/src/evox/problems/numerical/maf.py +++ b/src/evox/problems/numerical/maf.py @@ -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