HajimeKawahara / exojax

🐈 Automatic differentiable spectrum modeling of exoplanets/brown dwarfs using JAX, compatible with NumPyro and JAXopt
http://secondearths.sakura.ne.jp/exojax/
MIT License
45 stars 14 forks source link

jnp.trapz is deprecated. Replaced it to jax.scipy.integrate.trapezoid #476

Closed HajimeKawahara closed 6 months ago

HajimeKawahara commented 6 months ago

Since jax==0.4.16, jax.numpy.trapz was deprecated (Sep 18th in 2023). See here And removed in 0.4.24 in Feb 6th in 2024. See here

@sh-tada

github-actions[bot] commented 6 months ago

Unit Test Results

139 tests  Β±0   139 :heavy_check_mark: Β±0   32s :stopwatch: -2s βŸβ€„βŸβ€„1 suites Β±0β€‚β€ƒβ€ƒβŸβ€„βŸβ€„0 :zzz: Β±0  βŸβ€„βŸβ€„1 files   Β±0β€‚β€ƒβ€ƒβŸβ€„βŸβ€„0 :x: Β±0 

Results for commit 81928a93. ± Comparison against base commit dc86768c.