This is an automated email from the ASF dual-hosted git repository.
jiayu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sedona.git
The following commit(s) were added to refs/heads/master by this push:
new 539758bd5 [DOCS] Fix typo (#1536)
539758bd5 is described below
commit 539758bd57ac622c92e2dd9c48a6cd344f276f9d
Author: John Bampton <[email protected]>
AuthorDate: Mon Aug 5 15:25:42 2024 +1000
[DOCS] Fix typo (#1536)
---
.../src/main/java/org/apache/sedona/common/geometryObjects/Circle.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/common/src/main/java/org/apache/sedona/common/geometryObjects/Circle.java
b/common/src/main/java/org/apache/sedona/common/geometryObjects/Circle.java
index 05eb08e80..09de7696e 100644
--- a/common/src/main/java/org/apache/sedona/common/geometryObjects/Circle.java
+++ b/common/src/main/java/org/apache/sedona/common/geometryObjects/Circle.java
@@ -254,7 +254,7 @@ public class Circle extends Geometry {
double centerDeltaX = start.getX() - centerPoint.x;
double centerDeltaY = start.getY() - centerPoint.y;
- // Building and solving quadractic equation: ax2 + bx + c = 0
+ // Building and solving quadratic equation: ax2 + bx + c = 0
double a = deltaX * deltaX + deltaY * deltaY;
double b = 2 * (deltaX * centerDeltaX + deltaY * centerDeltaY);
double c = centerDeltaX * centerDeltaX + centerDeltaY * centerDeltaY -
radius * radius;