Skip to content

Commit 1aaa6fc

Browse files
committed
Response to reviews
1 parent 6f20685 commit 1aaa6fc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

bayesml/bernoulli/_bernoulli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,9 @@ def set_hn_params(self,hn_alpha,hn_beta):
220220
221221
Parameters
222222
----------
223-
h0_alpha : float
223+
hn_alpha : float
224224
a positive real number
225-
h0_beta : float
225+
hn_beta : float
226226
a positibe real number
227227
"""
228228
self.hn_alpha = _check.pos_float(hn_alpha,'hn_alpha',ParameterFormatError)

bayesml/multivariate_normal/_multivariatenormal.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,9 @@ def set_h_params(self,h_m_vec,h_kappa,h_nu,h_w_mat):
200200
a positive definite symetric matrix
201201
"""
202202
self.h_m_vec = _check.float_vec(h_m_vec,'h_m_vec',ParameterFormatError)
203-
self.h_w_mat = _check.pos_def_sym_mat(h_w_mat,'h_w_mat',ParameterFormatError)
204-
self.h_nu = _check.pos_float(h_nu,'h_nu',ParameterFormatError)
205203
self.h_kappa = _check.pos_float(h_kappa,'h_kappa',ParameterFormatError)
204+
self.h_nu = _check.pos_float(h_nu,'h_nu',ParameterFormatError)
205+
self.h_w_mat = _check.pos_def_sym_mat(h_w_mat,'h_w_mat',ParameterFormatError)
206206

207207
if (self.h_m_vec.shape[0] != self.h_w_mat.shape[0]
208208
or self.h_nu <= self.h_m_vec.shape[0] - 1):

0 commit comments

Comments
 (0)