Skip to content

Commit dbe6f06

Browse files
authored
Update RelativityTest.java
DELTA increased
1 parent aed9f49 commit dbe6f06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/thealgorithms/physics/RelativityTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
final class RelativityTest {
1414

1515
// A small tolerance (delta) for comparing floating-point numbers
16-
private static final double DELTA = 1e-9;
16+
private static final double DELTA = 1e-6;
1717
private static final double C = Relativity.SPEED_OF_LIGHT;
1818

1919
@Test

0 commit comments

Comments
 (0)