This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-geometry.git


The following commit(s) were added to refs/heads/master by this push:
     new 62f06cb7 Avoid test code hash collision using a different Vector3D
62f06cb7 is described below

commit 62f06cb77f9bd4b69d4e6b5e0dafa666d0d88e2e
Author: Alex Herbert <aherb...@apache.org>
AuthorDate: Fri Mar 28 16:50:40 2025 +0000

    Avoid test code hash collision using a different Vector3D
---
 .../org/apache/commons/geometry/spherical/twod/GreatCircleTest.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/commons-geometry-spherical/src/test/java/org/apache/commons/geometry/spherical/twod/GreatCircleTest.java
 
b/commons-geometry-spherical/src/test/java/org/apache/commons/geometry/spherical/twod/GreatCircleTest.java
index d4aaa388..f320d0c2 100644
--- 
a/commons-geometry-spherical/src/test/java/org/apache/commons/geometry/spherical/twod/GreatCircleTest.java
+++ 
b/commons-geometry-spherical/src/test/java/org/apache/commons/geometry/spherical/twod/GreatCircleTest.java
@@ -652,7 +652,7 @@ class GreatCircleTest {
         final GreatCircle a = GreatCircles.fromPoleAndU(Vector3D.Unit.PLUS_Z, 
Vector3D.Unit.PLUS_X, TEST_PRECISION);
 
         final GreatCircle b = GreatCircles.fromPoleAndU(Vector3D.of(0, 1, 1), 
Vector3D.Unit.PLUS_X, TEST_PRECISION);
-        final GreatCircle c = GreatCircles.fromPoleAndU(Vector3D.Unit.PLUS_Z, 
Vector3D.Unit.MINUS_X, TEST_PRECISION);
+        final GreatCircle c = GreatCircles.fromPoleAndU(Vector3D.Unit.PLUS_Z, 
Vector3D.of(0, -1, 1), TEST_PRECISION);
         final GreatCircle d = GreatCircles.fromPoleAndU(Vector3D.Unit.PLUS_Z, 
Vector3D.Unit.PLUS_X, precision);
 
         final GreatCircle e = GreatCircles.fromPoleAndU(Vector3D.Unit.PLUS_Z, 
Vector3D.Unit.PLUS_X, TEST_PRECISION);

Reply via email to