Skip to content

Commit

Permalink
Xfail polynomial kernel tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dfm committed Jan 4, 2024
1 parent e29d71f commit 2b05c36
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/test_george_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import warnings

import jax
import jax.numpy as jnp
import pytest
from numpy import random as np_random
Expand Down Expand Up @@ -182,8 +181,8 @@ def test_metric_kernel_value(random, stationary_kernel):

def test_gp(random, kernel):
tiny_kernel, george_kernel = kernel
if isinstance(tiny_kernel, kernels.Polynomial) and not jax.config.jax_enable_x64:
pytest.xfail("The Polynomial kernel is unstable at float32 precision")
if isinstance(tiny_kernel, kernels.Polynomial):
pytest.xfail("The Polynomial kernel is numerically unstable")
compare_gps(random, tiny_kernel, george_kernel)


Expand Down

0 comments on commit 2b05c36

Please sign in to comment.