Skip to content

Commit

Permalink
move 1/sqrt(2pi) definition to fix rtd build
Browse files Browse the repository at this point in the history
  • Loading branch information
TomWagg committed Oct 10, 2022
1 parent 1627b4d commit 233c521
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions isochrones/observation.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
imap = map
izip = zip
xrange = range

LOG_ONE_OVER_ROOT_2PI = np.log(1.0 / np.sqrt(2 * np.pi))
else:

class Traversal(object):
Expand All @@ -34,8 +36,6 @@ class LeftAligned(object):
from .isochrone import get_ichrone
from .utils import addmags, distance, fast_addmags

LOG_ONE_OVER_ROOT_2PI = np.log(1.0 / np.sqrt(2 * np.pi))


class NodeTraversal(Traversal):
"""
Expand Down

0 comments on commit 233c521

Please sign in to comment.