Skip to content

Commit

Permalink
fix tests for student_t
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-buerkner committed Oct 10, 2024
1 parent b73460c commit 28ff982
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_distributions/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

import keras

from bayesflow.distributions import DiagonalNormal


@pytest.fixture(params=[2, 3])
def batch_size(request):
Expand All @@ -22,14 +20,16 @@ def random_samples(batch_size, num_features):

@pytest.fixture()
def diagonal_normal():
from bayesflow.distributions import DiagonalNormal

return DiagonalNormal()


@pytest.fixture()
def diagonal_student_t():
from bayesflow.distributions import DiagonalStudentT

return DiagonalStudentT()
return DiagonalStudentT(df = 10)


@pytest.fixture(params=["diagonal_normal", "diagonal_student_t"])
Expand Down

0 comments on commit 28ff982

Please sign in to comment.