Skip to content

Commit 262c8d8

Browse files
authored
Update typo in solutions (and hence in tests) (#487)
1 parent d9bfdc3 commit 262c8d8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

manipulation/exercises/intro/test_intro_fundamentals.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,11 @@ def test_verification_2(self):
109109
"""Test Verification 2: With applied torque"""
110110
simulate_pendulum = self.notebook_locals["simulate_pendulum"]
111111

112-
# Using torque=0.0 as shown in your solution code
113-
times, outputs = simulate_pendulum([-0.1, 0.2], simulation_time=1.8, torque=0.0)
112+
times, outputs = simulate_pendulum([-0.1, 0.2], simulation_time=1.8, torque=0.5)
114113
final_angle = outputs[0, -1]
115114

116115
# Expected value from running the solution
117-
expected_final_angle = -0.118236
116+
expected_final_angle = -0.10743
118117

119118
self.assertAlmostEqual(
120119
final_angle,

0 commit comments

Comments
 (0)