Skip to content

Commit

Permalink
fix test case docstring and add changelog entry
Browse files Browse the repository at this point in the history
  • Loading branch information
dstndstn committed Sep 6, 2017
1 parent 91c9d4c commit beb109c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions doc/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
Change Log
==========

* Fixed bug in desiutil.brick.Brick.brick_radec() handling scalar inputs.

.. _`#81`: https://github.com/desihub/desiutil/pull/81

1.9.7 (unreleased)
------------------

Expand Down
2 changes: 1 addition & 1 deletion py/desiutil/test/test_brick.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def test_brick_radec_scalar(self):
self.assertEqual(dec, 0.)

def test_brick_radec_array(self):
"""Test scalar to brick RA,Dec conversion.
"""Test array to brick RA,Dec conversion.
"""
b = B.Bricks(bricksize=1.)
ra,dec = b.brick_radec(np.array([0., 1.]), np.array([0.,0.]))
Expand Down

0 comments on commit beb109c

Please sign in to comment.