Skip to content

Commit 0fdf118

Browse files
authored
Update OrbitFG.py to fix bug in issue 2
Not yet tested...
1 parent 89cec0b commit 0fdf118

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OrbitFG.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def F_mat(self,state):
159159
dist = la.norm(curr_state[:2])
160160
k = self.prop_dt*self.GE/(dist**5)
161161

162-
t_mat = np.array([[-self.prop_dt*(y**2-2*x**2)/2, 3*x*y*self.prop_dt, 0, 0],
162+
t_mat = np.array([[-self.prop_dt*(y**2-2*x**2)/2, 3*x*y*self.prop_dt/2.0, 0, 0],
163163
[3*x*y*self.prop_dt/2.0, -self.prop_dt*(x**2-2*y**2)/2, 0, 0],
164164
[2*x**2-y**2, 3*x*y, 0, 0],
165165
[3*x*y, 2*y**2-x**2, 0, 0]])

0 commit comments

Comments
 (0)