Skip to content

Commit

Permalink
Fixed a typo in drdlat, was calling drdsph in the wrapper function
Browse files Browse the repository at this point in the history
bumped version to 1.1.2.dev0
  • Loading branch information
AndrewAnnex committed May 20, 2017
1 parent 5e06610 commit 07375e7
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion appveyor/meta.yaml
@@ -1,6 +1,6 @@
package:
name: spiceypy
version: "1.1.1"
version: "1.1.2.dev0"

source:
path: ../
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Expand Up @@ -71,9 +71,9 @@ def __getattr__(cls, name):
# built documents.
#
# The short X.Y version.
version = '1.1.1'
version = '1.1.2.dev0'
# The full version, including alpha/beta/rc tags.
release = '1.1.1'
release = '1.1.2.dev0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -206,7 +206,7 @@ def windows_method():

setup(
name='spiceypy',
version='1.1.1',
version='1.1.2.dev0',
license='MIT',
author='Andrew Annex',
author_email='ama6fy@virginia.edu',
Expand Down
2 changes: 1 addition & 1 deletion spiceypy/spiceypy.py
Expand Up @@ -2335,7 +2335,7 @@ def drdlat(r, lon, lat):
lon = ctypes.c_double(lon)
lat = ctypes.c_double(lat)
jacobi = stypes.emptyDoubleMatrix()
libspice.drdsph_c(r, lon, lat, jacobi)
libspice.drdlat_c(r, lon, lat, jacobi)
return stypes.matrixToList(jacobi)


Expand Down
6 changes: 3 additions & 3 deletions spiceypy/tests/test_wrapper.py
Expand Up @@ -1082,9 +1082,9 @@ def test_drdgeo():

def test_drdlat():
output = spice.drdlat(1.0, 90.0 * spice.rpd(), 0.0)
expected = [[1.0, 0.0, -0.0],
[0.0, 0.0, 1.0],
[0.0, -1.0, 0.0]]
expected = [[0.0, -1.0, -0.0],
[1.0, 0.0, -0.0],
[0.0, 0.0, 1.0]]
npt.assert_array_almost_equal(output, expected)


Expand Down

0 comments on commit 07375e7

Please sign in to comment.