UCL-CCS / EasyVVUQ

Python 3 framework to facilitate verification, validation and uncertainty quantification (VVUQ) for a wide variety of simulations.
https://easyvvuq.readthedocs.io/
GNU Lesser General Public License v3.0
85 stars 27 forks source link

Failures when running the non-regression tests manually (1) #387

Open DavidPCoster opened 1 year ago

DavidPCoster commented 1 year ago

When running the non-regression tests manually, I get the following:

    # check if sampler.check_LEC worked
  assert (analysis.p_j == np.array([2, 2, 1, 1, 1, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2])).all()

E assert False E + where False = <built-in method all of numpy.ndarray object at 0x16d907750>() E + where <built-in method all of numpy.ndarray object at 0x16d907750> = array([2, 2, ..., 2, 2, 2, 2]) == array([2, 2, ..., 2, 2, 2, 2]) E Use -v to get more diff.all

tests/test_SSC.py:345: AssertionError

Could this test be fixed?