Skip to content

Commit

Permalink
Fix objectives tests (#348)
Browse files Browse the repository at this point in the history
Set 64 bit precision in objectives tests due to change in
#347 causing tests to
fail when run in isolation.
  • Loading branch information
Thomas-Christie authored Aug 8, 2023
1 parent 39d2327 commit dd695f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_objectives.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import jax
from jax.config import config
import jax.numpy as jnp
import jax.random as jr
import pytest
Expand All @@ -19,6 +20,9 @@
NonConjugateMLL,
)

# Enable Float64 for more stable matrix inversions.
config.update("jax_enable_x64", True)


def test_abstract_objective():
with pytest.raises(TypeError):
Expand Down

0 comments on commit dd695f5

Please sign in to comment.