Skip to content

Commit d2e2fbb

Browse files
authored
fix typo (#634)
1 parent 0b6409d commit d2e2fbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cart-pole/cart_pole.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export class CartPole {
102102
(4 / 3 - this.massPole * cosTheta * cosTheta / this.totalMass));
103103
const xAcc = temp - this.poleMoment * thetaAcc * cosTheta / this.totalMass;
104104

105-
// Update the four state variables, using Euler's metohd.
105+
// Update the four state variables, using Euler's method.
106106
this.x += this.tau * this.xDot;
107107
this.xDot += this.tau * xAcc;
108108
this.theta += this.tau * this.thetaDot;

0 commit comments

Comments
 (0)