Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielKotik committed Aug 17, 2021
2 parents 3659bf1 + 37fb6e4 commit 21080ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions optbeam/_3d/beams.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def profile(self, r):
try:
(result,
real_tol,
imag_tol) = _complex_dblquad(self if cython and cython.compiled
imag_tol) = _complex_dblquad(self if cython_imported and cython.compiled
else self._integrand,
0, 2*math.pi, 0, math.pi/2)
except Exception as e:
Expand Down Expand Up @@ -88,8 +88,8 @@ def profile(self, r):
try:
(result,
real_tol,
imag_tol) = _complex_dblquad(self if cython
and cython.compiled else self._integrand,
imag_tol) = _complex_dblquad(self if cython_imported and cython.compiled
else self._integrand,
-self._k, self._k, -self._k, self._k)
except Exception as e:
print(type(e).__name__ + ":", e)
Expand Down

0 comments on commit 21080ef

Please sign in to comment.