Skip to content

Commit

Permalink
oops using old name export
Browse files Browse the repository at this point in the history
  • Loading branch information
adrn committed Nov 25, 2023
1 parent 6464205 commit 02c2912
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gala/potential/potential/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@ def to_galpy_potential(self, ro=None, vo=None):
ro : quantity-like (optional)
vo : quantity-like (optional)
"""
return self.export("galpy", ro=ro, vo=vo)
return self.as_interop("galpy", ro=ro, vo=vo)

def as_interop(self, package, **kwargs):
"""Interoperability with other Galactic dynamics packages
Expand Down

0 comments on commit 02c2912

Please sign in to comment.