Changesets · Branches · Tags · Compare
| Changeset | 42df5ba7b90296e7fad79d65903ac594feca9034aae4543cbfb0fea9c0f7d77d |
|---|---|
| Author | Yongsen Mao <36813656+SamMaoYS@users.noreply.github.com> · 2026-06-27 02:14 +08:00 |
| Committer | GitHub <noreply@github.com> · 2026-06-27 02:14 +08:00 |
| Parents | 5be0d257508d, c7063826168a |
1 file changed
modified eval.py +1 −1
| @@ -279,7 +279,7 @@ | ||
| 279 | 279 | |
| 280 | 280 | return ( |
| 281 | 281 | np.linalg.norm(np.cross(n1, n2)) / (n1_length * n2_length) < parallel_tolerance |
| 282 | - and np.dot(np.subtract(q1, p1), n1) / n1_length < dist_tolerance | |
| 282 | + and np.abs(np.dot(np.subtract(q1, p1), n1)) / n1_length < dist_tolerance | |
| 283 | 283 | ) |
| 284 | 284 | |
| 285 | 285 |