Skip to content

Commit 88d63db

Browse files
committed
Docs fixes.
1 parent 428e7ee commit 88d63db

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

ruspy/estimation/mpec.py

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ def mpec_loglike_cost_params(
3131
Parameters
3232
----------
3333
maint_func: func
34-
see :ref: `maint_func`
34+
see :func: `maint_func`
3535
maint_func_dev: func
36-
see :ref: `maint_func_dev`
36+
see :func: `maint_func_dev`
3737
num_states : int
3838
The size of the state space.
3939
num_params : int
@@ -117,9 +117,9 @@ def mpec_constraint(
117117
Parameters
118118
----------
119119
maint_func : func
120-
see :ref:`maint_func`
120+
see :func:`maint_func`
121121
maint_func_dev: func
122-
see :ref: `maint_func_dev`
122+
see :func: `maint_func_dev`
123123
num_states : int
124124
The size of the state space.
125125
num_params : int
@@ -214,9 +214,9 @@ def mpec_loglike_cost_params_derivative(
214214
Parameters
215215
----------
216216
maint_func: func
217-
see :ref: `maint_func`
217+
see :func: `maint_func`
218218
maint_func_dev : func
219-
see :ref: `maint_func_dev`
219+
see :func: `maint_func_dev`
220220
num_states : int
221221
The size of the state space.
222222
num_params : int
@@ -285,9 +285,9 @@ def mpec_constraint_derivative(
285285
Parameters
286286
----------
287287
maint_func: func
288-
see :ref: `maint_func`
288+
see :func: `maint_func`
289289
maint_func_dev : func
290-
see :ref: `maint_func_dev`
290+
see :func: `maint_func_dev`
291291
num_states : int
292292
The size of the state space.
293293
num_params : int
@@ -307,7 +307,8 @@ def mpec_constraint_derivative(
307307
Jacobian of the MPEC constraint.
308308
309309
"""
310-
# Calculate a vector representing 1 divided by the right hand side of the MPEC constraint
310+
# Calculate a vector representing 1 divided by the right hand side of the MPEC
311+
# constraint
311312
ev = mpec_params[0:num_states]
312313
obs_costs = calc_obs_costs(num_states, maint_func, mpec_params[num_states:], scale)
313314

0 commit comments

Comments
 (0)