Skip to content

Commit fd4cc27

Browse files
Fixing build issues.
1 parent 1debc23 commit fd4cc27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ void eulerInputValidation() {
117117
@Test
118118
@DisplayName("Getter methods return configured parameters")
119119
void gettersReturnConfiguration() {
120-
double omega0 = 3.14;
120+
double omega0 = Math.PI;
121121
double gamma = 0.01;
122122
DampedOscillator d = new DampedOscillator(omega0, gamma);
123123

0 commit comments

Comments
 (0)