Fixed typo related to the sign of the Lagrange multiplier. Deleted trailing whitespaces.
parent
b8e1ecbcec
commit
2f5ce2403d
|
@ -49,7 +49,7 @@ model(block,bytecode,cutoff=0);
|
|||
(((Consumption^theta)*((1-Labour)^(1-theta)))^(1-tau))/Consumption - LagrangeMultiplier - ExpectedTerm(1);
|
||||
|
||||
// Eq. n°7:
|
||||
(Capital==(1-delta)*Capital(-1))*(Output-Consumption) + (1-(Capital==(1-delta)*Capital(-1)))*LagrangeMultiplier = 0;
|
||||
(Capital==(1-delta)*Capital(-1))*(Output-Consumption) + (1-(Capital==(1-delta)*Capital(-1)))*LM = 0;
|
||||
|
||||
// Eq. n°8:
|
||||
(LM<0)*(LM+LagrangeMultiplier) + (1-(LM<0))*(LM-LagrangeMultiplier) = 0;
|
||||
|
|
Loading…
Reference in New Issue