Skip to content

Commit f73c7c3

Browse files
committed
MAINT: minor local variable change to snake_case.
1 parent 325598a commit f73c7c3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

rocketpy/motors/solid_motor.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -479,10 +479,10 @@ def geometry_dot(t, y):
479479
# Compute state vector derivative
480480
rI, h = y
481481
burn_area = 2 * np.pi * (rO**2 - rI**2 + rI * h)
482-
rIDot = -volume_diff / burn_area
483-
hDot = -2 * rIDot
482+
rI_dot = -volume_diff / burn_area
483+
h_dot = -2 * rI_dot
484484

485-
return [rIDot, hDot]
485+
return [rI_dot, h_dot]
486486

487487
# Define jacobian of the system of differential equations
488488
def geometry_jacobian(t, y):

0 commit comments

Comments
 (0)