Skip to content

Commit

Permalink
'modi'
Browse files Browse the repository at this point in the history
  • Loading branch information
smasky committed May 7, 2024
1 parent 08e35a1 commit ce8e05d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion UQPyL/problems/problem_ABC.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def _check_2d(self, X:np.ndarray):

def _check_bound(self,bound: np.ndarray):

if(not bound.shape[1]==self.n_input):
bound=bound.ravel()
if(not bound.shape[0]==self.n_input):
raise ValueError('the input bound is inconsistent with the input n_inputensions')

6 changes: 3 additions & 3 deletions UQPyL/surrogates/gp_kernels/base_kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

class Gp_Kernel():
def __init__(self):
self._theta=None
self._theta_ub=None
self._theta_lb=None
self._theta={}
self._theta_ub={}
self._theta_lb={}

def __check_array__(self, value: Union[float,np.ndarray]):

Expand Down

0 comments on commit ce8e05d

Please sign in to comment.