Skip to content

Commit

Permalink
Hide Code Output in BCG_incomplete_mkts.md (#150)
Browse files Browse the repository at this point in the history
* hide long code output

* add an extra line
  • Loading branch information
HumphreyYang authored Nov 5, 2023
1 parent 4e265e7 commit 62938ad
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lectures/BCG_incomplete_mkts.md
Original file line number Diff line number Diff line change
Expand Up @@ -1210,6 +1210,8 @@ In the first example, we set up an instance of the BCG incomplete
markets model with default parameter values.

```{code-cell} python3
:tags: ["hide-output"]
mdl = BCG_incomplete_markets()
kss,bss,Vss,qss,pss,c10ss,c11ss,c20ss,c21ss,𝜃1ss = mdl.solve_eq(print_crit=False)
```
Expand Down Expand Up @@ -1817,6 +1819,8 @@ The function `valuations_by_agent` is used in calculating these
valuations.

```{code-cell} python3
:tags: ["hide-output"]
# Lists for storage
wlist = []
klist = []
Expand All @@ -1831,9 +1835,6 @@ p1list = []
p2list = []
# For loop: optimization for each endowment combination
for i in range(10):
print(i)
Expand Down

2 comments on commit 62938ad

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.