Skip to content

Commit

Permalink
thrust unit vec found within pos xyz octant #165
Browse files Browse the repository at this point in the history
  • Loading branch information
jacanchaplais committed Nov 7, 2023
1 parent 0a9bae3 commit 3702974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphicle/calculate.py
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ def thrust(
axis : ndarray[float64], optional
The axis which maximises the thrust for the event.
"""
domain = (-math.pi, math.pi)
domain = (0.0, 0.5 * math.pi)
rng = np.random.default_rng(seed=rng_seed)
guess = rng.uniform(*domain, size=2)
optim = spo.minimize(
Expand Down

0 comments on commit 3702974

Please sign in to comment.