Commit Graph

12159 Commits (30bfa162117b83f0153c8f29776e5a2afb811cb0)

Author SHA1 Message Date
Houtan Bastani 8f78113be9
update doc to reflect changes in macOS installer 2019-12-10 16:53:12 +01:00
Sébastien Villemot 357a91c10e Merge branch 'master' into 'master'
macOS packaging: compile against the version of Octave distributed via...

See merge request Dynare/dynare!1679
2019-12-10 15:03:55 +00:00
Houtan Bastani 0c77f7e92f
macOS packaging: compile against the version of Octave distributed via https://octave-app.org (currently 4.4.1) 2019-12-10 15:14:16 +01:00
Sébastien Villemot 651b400fba Merge branch 'master' into 'master'
Factorize interpret_resol_info into print_info. Closes: Dynare/dynare#1308

Closes #1308

See merge request Dynare/dynare!1676
2019-12-09 17:11:22 +00:00
Dóra Kocsis 716b18989d Factorize interpret_resol_info into print_info. Closes: Dynare/dynare#1308 2019-12-09 17:02:15 +01:00
Sébastien Villemot 553615efbc
Manual: fix the description of the “colormap” option
This option takes as argument the name of MATLAB/Octave variable, not a string.

Ref #1586
2019-12-09 15:52:50 +01:00
Sébastien Villemot e4a9ee097f
Preprocessor: add option “colormap” to “initial_condition_decomposition” command (#1586) 2019-12-09 15:45:26 +01:00
Sébastien Villemot 3f3f49c465 Merge branch 'flip_diff' into 'master'
Flip diff

See merge request Dynare/dynare!1677
2019-12-06 15:29:07 +00:00
Sébastien Villemot 8586fea2b9
Preprocessor: under Windows, apply the workaround for +<basename> removal to +objective subfolder 2019-12-06 15:25:00 +01:00
Sébastien Villemot c646736b9b
Emacs mode: update for recent additions to the language 2019-12-06 15:24:48 +01:00
Houtan Bastani a77472772f
doc: update macOS min version and document package installation 2019-12-06 14:58:19 +01:00
Houtan Bastani 5e429f8c92
update preprocessor
- fix bug with cbrt
- fix latex output
- add compilation_setup command. closes preprocessor#35
- fix bugs with initial_condition_decomposition. preprocessor#37
2019-12-06 14:58:19 +01:00
Houtan Bastani fa493bc10a
doc: fix typo 2019-12-06 14:58:19 +01:00
Houtan Bastani dec7d4fdb4
dynare.m: simplify code 2019-12-06 12:01:58 +01:00
Houtan Bastani 3a223e9c08
fix uncommon bug in parsing dynare command line options
previously, `nopathchange` and `nopreprocessoroutput` were set even if they were values instead of option names.

`nopathchange` would further remove all options that contained `'nopathchange'`

e.g. `dynare example1.mod savemacro=nopathchange` would erroneously set `nopathchange` to true and would delete the `savemacro` option altogether

In the fix, just check that the match starts in position 1 as, if the argument passed is longer than the matching pattern (e.g. nopathchangee), the preprocessor will stop processing with a usage error
2019-12-06 12:01:57 +01:00
Marco Ratto 74e7c12d9d integrate documentation for plot_shock_decomposition
add documentation to initial_condition_decomposition
2019-12-05 16:51:37 +01:00
Marco Ratto 5fe495852e Intregrate full list of options to initial_condition_decompositions, including defaults.
Adapt figure names when initial conditions are ploteed instead of shocks
2019-12-05 16:50:18 +01:00
Marco Ratto e9607d09a5 added documentation of flip diff options of plot decomposition 2019-12-05 15:13:17 +01:00
Marco Ratto a14b174f93 provide info about flip diff options in the name of files and figures 2019-12-05 14:41:06 +01:00
Marco Ratto 79bdde79e0 implement new options flip and diff for plotting decompositions 2019-12-05 13:20:12 +01:00
Stéphane Adjemian (Charybdis) 2184195826 Updated dseries submodule.
[ci skip]
2019-12-05 12:10:36 +01:00
Sébastien Villemot 3159162d76
Preprocessor update
- systematic recursive ordering of auxiliary equations (preprocessor#22)
- interface for init2shocks (#1650)
2019-12-03 14:29:08 +01:00
Houtan Bastani 415ed5b2d5
document dseries constructor that takes tables as arguments
Closes #1359
2019-12-03 11:26:28 +01:00
Sébastien Villemot 9a3c62e3d6
Add a list of former Dynare Team members 2019-11-29 17:53:06 +01:00
Sébastien Villemot d3802c2a34 Merge branch 'master' into 'master'
Save conditional forecast output in oo_. Closes: Dynare/dynare#1672

Closes #1672

See merge request Dynare/dynare!1675
2019-11-29 16:11:54 +00:00
Houtan Bastani d9f4987b59
doc: add index to html sidebar
closes #1669
2019-11-29 16:26:39 +01:00
Dóra Kocsis b9af92eb8a Save conditional forecast output in oo_. Closes: Dynare/dynare#1672 2019-11-29 15:25:05 +01:00
Houtan Bastani f2205ed4a1
add nograph option to plot_shock_decomposition
In updating the preprocessor, also update call to plot_icforecast
2019-11-29 15:17:41 +01:00
Houtan Bastani 14384c233f
reporting: correctly handle `showDate` option of report 2019-11-29 12:02:00 +01:00
Houtan Bastani 5f1b9b3ee9
update reporting doc 2019-11-29 11:46:33 +01:00
Houtan Bastani 3ef8564279
reporting: add ability to make title page 2019-11-29 11:36:00 +01:00
Sébastien Villemot 5cae192487
Build system: really error out if some dependency is missing
The changes in 8065e9d439 were not working as
intended, because AC_CHECK_PROG expect values and not actions. Hence
AC_MSG_ERROR was not properly executed.

By the way, simplify some test conditions using && instead of if/then/fi
blocks.
2019-11-28 14:43:44 +01:00
Sébastien Villemot 52cb36d433
Preprocessor update
- new include_eqs and exclude_eqs command-line options
- new “forecast” option to “shock_decomposition”
- remove the “linear” option of “stoch_simul”
- forbid exogenous and exogenous deterministic variables in STEADY_STATE
  operator (#825)
2019-11-27 17:32:52 +01:00
Sébastien Villemot 9e222734a8
Bytecode: fix logic in routine that substracts two sparse matrices
The logic of the dynSparseMatrix::Sparse_substract_SA_SB() routine was
incorrect.

In some cases, it would read past the last nonzero elements of the A matrix,
and consequently write past the number of allocated nonzero elements of the C
matrix.

This would lead to crashes and, probably, to wrong results under certain
circumstances.

Closes: #1652
2019-11-27 16:57:47 +01:00
Sébastien Villemot c5537e23ae Merge branch 'tolerance' into 'master'
Nonlinear solver: tolerance for first Newton iteration is now smaller than for subsequent ones

See merge request Dynare/dynare!1674
2019-11-27 13:21:51 +00:00
Michel Juillard f70f7761db Nonlinear solver: tolerance for first Newton iteration is now
smaller than for subsequent ones. Closes: #1668
2019-11-27 14:19:01 +01:00
Sébastien Villemot 4a8dd1e8fa Merge branch 'steadystate_file' into 'master'
Remove globals from user-defined steadystate file

See merge request Dynare/dynare!1673
2019-11-26 17:26:19 +00:00
Sébastien Villemot 62146e14ab
Manual: do not hardcode version number, let it be automatically substituted 2019-11-26 17:05:35 +01:00
Johannes Pfeifer 0c01c31491 Remove global variables from user-defined steady state files
M_ and options_ are now passed as an input; params is an output as in the _steadystate2.m files
2019-11-26 17:05:14 +01:00
Johannes Pfeifer fc6c78e5ea testsuite: transform old steady state files to steady_state_model-blocks
Allows for easier maintenance
2019-11-26 17:02:12 +01:00
Sébastien Villemot fec274130e
Update CONTRIBUTING.md for move to GitLab (#1114) 2019-11-26 16:55:27 +01:00
Sébastien Villemot 55d7397d40
Remove utilites for converting oo_ between Dynare versions
It’s not clear that such utilities are useful (people should rather update
their MATLAB). It’s also a lot of work, and it’s probably better to focus on
documenting the incompatibilities.

Closes: #915
2019-11-26 16:26:50 +01:00
Sébastien Villemot 078464d89d
CI: fix pkg_source job following change in previous commit
It is not possible to use --disable-matlab and --disable-octave, because
otherwise `make dist` does not properly recurse.

By the way, factorize the computation of the path and version of the default
MATLAB installation.
2019-11-26 15:13:54 +01:00
Sébastien Villemot 8065e9d439
Build system: by default, error out if some dependency is missing
In particular, if either MATLAB or Octave is missing, one needs to pass either
--disable-matlab or --disable-octave.

Moreover, several new configure flags have been introduced for disabling some
components:
--disable-doc
--disable-dynare++
--disable-mex-dynare++
--disable-mex-ms-sbvar
--disable-mex-kalman-steady-state
2019-11-26 13:53:42 +01:00
Sébastien Villemot a909bfd58c
Manual: fix typo 2019-11-26 12:59:20 +01:00
Houtan Bastani 7a320d2944
fix macro processor bug that resulted in incorrect casts from string to bool 2019-11-26 11:19:15 +01:00
Houtan Bastani c87cac8bf8
fix bugs in macro processor 2019-11-26 10:42:57 +01:00
Sébastien Villemot 08101ce049 Merge branch 'det_cond_forecast' into 'master'
after check, oo_.dr isn't empty but oo_.dr.ghx + friends don't exist

See merge request Dynare/dynare!1672
2019-11-26 09:09:59 +00:00
Michel Juillard d0247277f9 after check, oo_.dr isn't empty but oo_.dr.ghx + friends don't exist 2019-11-25 21:54:53 +01:00
Houtan Bastani f2c04f7006
update Makefile for recent changes to Windows package
[skip ci]
2019-11-25 11:35:22 +01:00