Skip to content

Commit 10189df

Browse files
committed
Updated parmest.py
1 parent 873eb74 commit 10189df

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

pyomo/contrib/parmest/parmest.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def SSE_weighted(model):
148148
).reshape(1, -1)
149149

150150
# build the measurement-error covariance matrix
151-
Sigma_y = _build_meas_error_covariance(model)
151+
Sigma_y = _build_meas_error_covariance_matrix(model)
152152

153153
# compute the inverse of the measurement-error covariance matrix
154154
try:
@@ -171,7 +171,7 @@ def SSE_weighted(model):
171171
)
172172

173173

174-
def _build_meas_error_covariance(model, estimated_var=None):
174+
def _build_meas_error_covariance_matrix(model, estimated_var=None):
175175
"""
176176
Builds the full measurement-error covariance matrix
177177
@@ -945,7 +945,7 @@ def _finite_difference_FIM(
945945
model = _get_labeled_model(experiment)
946946

947947
# compute the measurement-error covariance matrix
948-
Sigma_y = _build_meas_error_covariance(model, estimated_var)
948+
Sigma_y = _build_meas_error_covariance_matrix(model, estimated_var)
949949

950950
# compute the inverse of the measurement-error covariance matrix
951951
try:
@@ -1075,7 +1075,7 @@ def _kaug_FIM(
10751075
kaug_jac = np.array(jac).T
10761076

10771077
# compute the measurement-error covariance matrix
1078-
Sigma_y = _build_meas_error_covariance(model, estimated_var)
1078+
Sigma_y = _build_meas_error_covariance_matrix(model, estimated_var)
10791079

10801080
# compute the inverse of the measurement-error covariance matrix
10811081
try:

0 commit comments

Comments
 (0)