... | ... | @@ -39,9 +39,18 @@ The correct code in Dynare `4.6` would be |
|
|
@#define b = i+a
|
|
|
@#endfor
|
|
|
```
|
|
|
Note the deleted brackets in the definition of the range `1:4`
|
|
|
Note the deleted brackets in the definition of the range `1:4`.
|
|
|
|
|
|
4. The `ramsey_policy`-command is now deprecated. It is superseded by calls to `ramsey_policy`, `stoch_simul`, and `evaluate_planner_objective`. This allows for better control of the individual elements going into the computations.
|
|
|
4. The preprocessor now performs divisions with doubles instead of integers. For example, `3/2` used to result in `1`, now it results in `1.5`. To restore the old behavior, one needs to replace
|
|
|
```
|
|
|
a/b
|
|
|
```
|
|
|
by
|
|
|
```
|
|
|
floor(a/b)
|
|
|
```
|
|
|
|
|
|
5. The `ramsey_policy`-command is now deprecated. It is superseded by calls to `ramsey_policy`, `stoch_simul`, and `evaluate_planner_objective`. This allows for better control of the individual elements going into the computations.
|
|
|
For example, to achieve the same results as previously with
|
|
|
```
|
|
|
ramsey_policy(planner_discount=0.99,order=1,instruments=(r),periods=500,irf=25);
|
... | ... | |