Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yoachim committed Sep 24, 2019
1 parent cbeb4a9 commit ae233c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/lsst/sims/featureScheduler/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,10 +424,10 @@ def __init__(self, nside=None, fov_radius=1.75, decimals=5):
if nside is None:
nside = set_default_nside()

self.tree = hp_kd_tree(nside=nside, decimals=decimals)
self.radius = np.round(xyz_angular_radius(fov_radius), decimals=self.decimals)
self.decimals = decimals

self.tree = hp_kd_tree(nside=nside, decimals=self.decimals)
self.radius = np.round(xyz_angular_radius(fov_radius), decimals=self.decimals)

def __call__(self, ra, dec, **kwargs):
"""
Parameters
Expand Down

0 comments on commit ae233c7

Please sign in to comment.