CW-DoublePendulum 0.2.2__py3-none-any.whl → 0.2.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -47,7 +47,7 @@ def runSim():
47
47
  return np.array([omega1, domega1, omega2, domega2])
48
48
 
49
49
  def step():
50
- global state
50
+ nonlocal state
51
51
  # 4th-order Runge-Kutta integrator for ODE
52
52
  k1 = derivs(state, l1, l2, m1, m2)
53
53
  k2 = derivs(state + 0.5 * dt * k1, l1, l2, m1, m2)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: CW-DoublePendulum
3
- Version: 0.2.2
3
+ Version: 0.2.4
4
4
  Summary: A Python package that uses NumPy and Matplotlib to simulate an interactive double pendulum.
5
5
  Author-email: Chase Worsley <your_email@example.com>
6
6
  License: MIT
@@ -0,0 +1,8 @@
1
+ CWDoublePendulum/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ CWDoublePendulum/sim.py,sha256=qu794i7iJXQMofWJ57lnQwx56qpVDDyvnA39H5-TVwo,14401
3
+ cw_doublependulum-0.2.4.dist-info/licenses/LICENSE,sha256=P_M8rIY4EFOQArRFqXCsxqdZyDp2kUCszxsaDapqA_4,1090
4
+ cw_doublependulum-0.2.4.dist-info/METADATA,sha256=LhC4un6mWy5bSCTvHvsEHqFhVDn2Oz0BtbY3g5BVFE8,719
5
+ cw_doublependulum-0.2.4.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
6
+ cw_doublependulum-0.2.4.dist-info/entry_points.txt,sha256=bl8GVAAafizZ1OprX6HOmfdP0pcJRYjsAEeKdxMTCiw,65
7
+ cw_doublependulum-0.2.4.dist-info/top_level.txt,sha256=getQFdsFpgw4puZJPD_uM4uFaD_ltaEzamsq6zcL4dM,17
8
+ cw_doublependulum-0.2.4.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- CWDoublePendulum/src/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- CWDoublePendulum/src/sim.py,sha256=S_DkT3_6DFTJixb3mcXJGUsSq_cPcjUntcAcd4aoVfE,14399
3
- cw_doublependulum-0.2.2.dist-info/licenses/LICENSE,sha256=P_M8rIY4EFOQArRFqXCsxqdZyDp2kUCszxsaDapqA_4,1090
4
- cw_doublependulum-0.2.2.dist-info/METADATA,sha256=ccvA8Eyb1KUpIEH0gQ86AusTzsl1I3to7H7ZDDTzHeQ,719
5
- cw_doublependulum-0.2.2.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
6
- cw_doublependulum-0.2.2.dist-info/entry_points.txt,sha256=bl8GVAAafizZ1OprX6HOmfdP0pcJRYjsAEeKdxMTCiw,65
7
- cw_doublependulum-0.2.2.dist-info/top_level.txt,sha256=getQFdsFpgw4puZJPD_uM4uFaD_ltaEzamsq6zcL4dM,17
8
- cw_doublependulum-0.2.2.dist-info/RECORD,,
File without changes