SURGroup / UQpy

UQpy (Uncertainty Quantification with python) is a general purpose Python toolbox for modeling uncertainty in physical and mathematical systems.
MIT License
267 stars 77 forks source link

Sample Methods LHS return shape is 1d #103

Closed lohitv96 closed 2 years ago

lohitv96 commented 3 years ago

Describe the bug

The samples attribute of the LHS class should have a 2d shape but currently the samples returned by the LHS object is 1d in shape.

To Reproduce Steps to reproduce the behavior:

  1. Import Uniform and LHS classes from their modules
  2. Define a LHS object with the Uniform[0, 1] and 100 sample points
  3. The shape of the samples parameter is of the shape (100,) where it should have been (100, 1)

Expected behavior The samples should have at least a 2d shape

Desktop (please complete the following information):