Repository navigation
DOC: fix shock condition in LQ and LQMarkov docstrings - #1005
bobby404-K wants to merge 1 commit into
Conversation
|
Thanks for the pull request, @bobby404-K! QuantEcon welcomes AI-assisted contributions under its Code of AI Use. Every pull request carries one
This comment is posted on every external pull request that arrives without the line, so it is not a flag on yours. Nothing is blocked; a maintainer reads the reply. |
A human chose this task, read the result, and will answer review on this PR. |
|
Heyy! @mmcky could you check this? |
Fixes #988
The LQ and LQMarkov docstrings state E[w_t' w_t] = I. Since w_t is j x 1, w_t' w_t is a scalar and can’t equal the j x j identity. This changes the condition to E[w_t w_t'] = I, which matches the outer-product noise the code actually draws.
Docs only. quantecon/tests/test_lqcontrol.py passes (18 tests).