Skip to content

Commit

Permalink
Fix jax.config, remove astropy import
Browse files Browse the repository at this point in the history
Fix `jax.config`, remove astropy import
  • Loading branch information
lgrcia authored May 20, 2024
2 parents 6a44557 + de1f26a commit bb804fa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion nuance/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import jax
from jax.config import config

DEVICES_COUNT = jax.device_count()

config = jax.config
config.update("jax_enable_x64", True)

from nuance.combined import CombinedNuance
Expand Down
1 change: 0 additions & 1 deletion nuance/star.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from dataclasses import dataclass

import astropy.units as u
import numpy as np

G = 2942.2062175044193
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "nuance"
version = "0.6.0"
version = "0.6.1"
description = "Transit signals detection among correlated noises"
authors = ["Lionel Garcia"]
license = "MIT"
Expand Down

0 comments on commit bb804fa

Please sign in to comment.