Index: src/Common/NetTopologySuite/Algorithm/RobustDeterminant.cs =================================================================== diff -u -r8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9 -r5fc71a385897af92ccb092f2f969b5709afab85a --- src/Common/NetTopologySuite/Algorithm/RobustDeterminant.cs (.../RobustDeterminant.cs) (revision 8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9) +++ src/Common/NetTopologySuite/Algorithm/RobustDeterminant.cs (.../RobustDeterminant.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a) @@ -20,7 +20,7 @@ /// ************************************************************************* /// public class RobustDeterminant - { + { /// /// /// @@ -43,7 +43,6 @@ double swap; double k; long count = 0; - sign = 1; @@ -244,9 +243,9 @@ while (true) { count = count + 1; - k = Math.Floor(x2 / x1); - x2 = x2 - k * x1; - y2 = y2 - k * y1; + k = Math.Floor(x2/x1); + x2 = x2 - k*x1; + y2 = y2 - k*y1; /* * testing if R (new U2) is in U1 rectangle @@ -302,9 +301,9 @@ /* * exchange 1 and 2 role. */ - k = Math.Floor(x1 / x2); - x1 = x1 - k * x2; - y1 = y1 - k * y2; + k = Math.Floor(x1/x2); + x1 = x1 - k*x2; + y1 = y1 - k*y2; /* * testing if R (new U1) is in U2 rectangle @@ -357,7 +356,6 @@ return -sign; } } - } } -} +} \ No newline at end of file