Skip to content

Commit

Permalink
fix broken test due to class name change
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarshrossney committed Apr 26, 2021
1 parent 1548be0 commit f215adb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions anvil/tests/test_distributions.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from math import sqrt

import numpy as np
from anvil.distributions import NormalDist
from anvil.distributions import Gaussian

MEAN = 0
SIGMA = 1
Expand All @@ -20,7 +20,7 @@ def test_normal_distribution():
"""
lattice_size = 5
generator = NormalDist(lattice_size, sigma=SIGMA, mean=MEAN)
generator = Gaussian(lattice_size, sigma=SIGMA, mean=MEAN)
sample_pt, _ = generator(N_SAMPLE)
sample_np = sample_pt.detach().numpy()
np.testing.assert_allclose(
Expand Down

1 comment on commit f215adb

@wilsonmr
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you revert this - I covered it in #65 as I said I would

Please sign in to comment.