Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dtamayo committed Dec 31, 2024
1 parent 97310fd commit 76f1f18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reboundx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
#clibreboundx = cdll.LoadLibrary(pymodulespath + '/../libreboundx' + suffix)
pymodulepath = os.path.dirname(os.path.abspath(__file__))
pymodulepath = os.path.abspath(os.path.join(pymodulepath, os.pardir))
__libpath__ = os.path.join(pymodulepath, "/../librebound"+suffix)
clibrebound = cdll.LoadLibrary(__libpath__)
__libpath__ = os.path.join(pymodulepath, "libreboundx"+suffix)
clibreboundx = cdll.LoadLibrary(__libpath__)

# Version
__version__ = c_char_p.in_dll(clibreboundx, "rebx_version_str").value.decode('ascii')
Expand Down

0 comments on commit 76f1f18

Please sign in to comment.