Skip to content

Commit

Permalink
Don't use array omega
Browse files Browse the repository at this point in the history
  • Loading branch information
jobovy committed Nov 17, 2015
1 parent 15e1ff7 commit 256c289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion galpy/df_src/streamgapdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def _rewind_angle_impact(self,dangle):
else: self._caustic_phase= True
if not self._caustic_phase: # Single-valued everywhere
guess= dangle
dguess= self._dOparMax*self._timpact*1.2
dguess= numpy.fabs(self._dOparMax[0])*self._timpact*1.2
out= optimize.brentq(lambda da: dangle
-self._kick_interpdOpar(da)*self._timpact
-da,
Expand Down

0 comments on commit 256c289

Please sign in to comment.