Commit Graph

12111 Commits (808119b1adeb5acf594a3304f32bb72308da0022)

Author SHA1 Message Date
Sébastien Villemot 808119b1ad
Various fixes to the license.txt file
In particular, merge back preprocessor information.
2020-01-22 18:03:33 +01:00
Sébastien Villemot fd115c22e7
Restore the BSD-2-clause license header of two files
Those had been incorrectly converted to GPL-3+ in commit
1bf81c9f5a.
2020-01-22 16:53:22 +01:00
Sébastien Villemot 00ee480674
Manual: add the accessor functions
Note that, for get_mean, the syntax with an optional order is not documented,
because the semantics is different at order 2, and it does not work for higher
orders.

Closes: #1687
2020-01-22 16:25:35 +01:00
Houtan Bastani 77b7b216d0
doc: use references instead of repeating the same info
[skip ci]
2020-01-22 10:59:34 +01:00
Houtan Bastani b090669e8f
doc: add info about `epilogue` block
Closes issue #1679

[skip ci]
2020-01-22 10:31:56 +01:00
Sébastien Villemot 06ce5d1e56
Manual: document init2shocks
Closes: #1650
2020-01-21 18:39:33 +01:00
Sébastien Villemot 9f51b2508a
Disable spurious warnings as early as possible
This is necessary for Octave under Windows, to avoid a warning about isdir()
triggered by user_has_octave_forge_package.m.
2020-01-21 18:39:33 +01:00
Sébastien Villemot b63ae5b619
Manual: add note about required Octave version under Windows and macOS 2020-01-21 18:39:33 +01:00
Houtan Bastani ba1fe2539e
macOS distribution: replace `com.cepremap` with `org.dynare` 2020-01-21 14:28:44 +01:00
Sébastien Villemot 080740b5ee
Preprocessor: fix bug with “use_dll” introduced in latest update
Ref. preprocessor#40
2020-01-20 18:34:16 +01:00
Sébastien Villemot 9a9606322f
CI: replace deprecated “only” syntax by “rules:if” 2020-01-20 18:05:26 +01:00
Sébastien Villemot 66a5113500
Preprocessor: fix derivation order for “identification” without “stoch_simul”
Also add a regression test.

Closes: preprocessor#40
2020-01-20 17:28:05 +01:00
Sébastien Villemot e371b1a94b
New option “filtered_theoretical_moments_grid”, that supersedes “hp_ngrid”
The old option is left for backward-compatibility purposes, but it has the same
effect as the new one.

Closes: #1093
2020-01-20 16:23:10 +01:00
Sébastien Villemot 2fb18bba97
Manual: FILENAME need not always be a quoted string (in a Dynare context)
Ref. !1692
2020-01-20 14:59:37 +01:00
Stéphane Adjemian (Charybdis) 4ff0b66a8c
Updated dseries submodule (bug fix in merge method).
[skip ci]
2020-01-17 18:27:49 +01:00
Stéphane Adjemian (Charybdis) 3c2a1851b5
Fixed typo. 2020-01-17 18:12:41 +01:00
Sébastien Villemot a753c18d61
Testsuite: add various missing files to source tarball 2020-01-16 16:54:47 +01:00
Sébastien Villemot 5f9b9db31e
Build system: add missing Fortran 2008 files to source tarball 2020-01-16 16:54:47 +01:00
Sébastien Villemot 048564c97b
MATLAB compatibility fix: R2014a is 8.3, not 8.4 2020-01-16 16:54:47 +01:00
Houtan Bastani a716b6315c
Preprocessor update
- macro processor: fix bug where command line arguments that began with an integer were being treated as integers even if they weren't (e.g. dates)
- macro processor: allow colon-separated arrays as command-line defines
- use prefix notation `R"()"` for quote in quotes
2020-01-16 16:32:51 +01:00
Sébastien Villemot 3ee9ada8d3
Octave compatibility fix: skip unit test for load_m_file_data_legacy.m
The failure is impossible to reproduce outside the runners. Skip the test, for
lack of a better solution.
2020-01-14 14:58:38 +01:00
Sébastien Villemot 16b571c033
Manual: don’t claim support for Windows 8, since Microsoft no longer supports it
Rather mention Windows 8.1.
2020-01-14 14:04:47 +01:00
Sébastien Villemot 9bac6a0d32
Octave compatibility fix: skip some tests under Octave 5.1, due to a bug in ordeig 2020-01-14 11:49:41 +01:00
Sébastien Villemot c5f50a34e2
MATLAB compatibility fix: skip identification/kim/kim2.mod test under R2009b
MATLAB crashes, most likely due to an internal bug.
2020-01-14 11:45:03 +01:00
Sébastien Villemot 7c2338034f
Testsuite: drop useless version check (we require at least MATLAB R2009b/7.9) 2020-01-14 11:26:06 +01:00
Sébastien Villemot 4a5fce4b8e
Preprocessor update
— fix LaTeX compilation error with some expressions (#263)
— fix handling of some special characters in LaTeX
— add “xls_sheet” and “xls_range” to “calib_smoother” (#1695)
— license file update
2020-01-13 18:35:09 +01:00
Sébastien Villemot fd13063a5c
Octave compatibility fix: “fig” format is unsupported 2020-01-13 18:33:47 +01:00
Sébastien Villemot bde2f1977c
MATLAB compatibility fix: skip mode_compute=3 test under R2009b
In this version, fminunc fails due to Inf value.
2020-01-13 18:30:28 +01:00
Sébastien Villemot 1912f67778
MATLAB compatibility fix: automatic broadcasting was introduced in R2016b
For earlier versions, either use bsxfun or handle special cases differently.
2020-01-13 18:30:28 +01:00
Sébastien Villemot 8fff99115a
MATLAB compatibility fix: double-quoted strings only accepted since R2017a 2020-01-13 18:30:28 +01:00
Sébastien Villemot 6a0ba34c0c
Update license dates 2020-01-13 18:30:28 +01:00
Sébastien Villemot 6a67feee19 Merge branch 'calib_doc' into 'master'
Document xls_range/sheet options of calib_smoother

Closes #1695

See merge request Dynare/dynare!1696
2020-01-13 17:06:54 +00:00
Johannes Pfeifer b3aef92234 Document xls_range/sheet options of calib_smoother
Closes https://git.dynare.org/Dynare/dynare/issues/1695
2020-01-13 12:56:18 +01:00
Houtan Bastani 8764330725
fix typo in doc
`check` has two OPTIONS

[skip ci]
2020-01-13 12:42:09 +01:00
Sébastien Villemot d9b9f78392 Merge branch 'particle_check' into 'master'
Particle filters: provide error if trends or prefiltering is used

Closes #1690

See merge request Dynare/dynare!1695
2020-01-13 11:02:29 +00:00
Johannes Pfeifer 23cac089f1 fs2000_ns_common.inc: set order of approximation explicitly to 1 2020-01-12 17:13:24 +01:00
Johannes Pfeifer 03a8759560 Particle filters: provide error if trends or prefiltering is used
Closes https://git.dynare.org/Dynare/dynare/issues/1690
2020-01-10 19:08:51 +01:00
Sébastien Villemot 7e770f69e7
Remove workaround for errors in MEX files
Because at some point throwing exceptions from MEX files (with mexErrMsgTxt())
was not working under Windows 64-bit, we had designed a workaround to avoid
using exceptions.

Most MEX files were returning an error code as their first (or sometimes last)
argument, and that code would have to be checked from the MATLAB code.

Since this workaround is no longer needed, this commit removes it. As a
consequence, the interface of many MEX files is modified.

For some background, see https://www.dynare.org/pipermail/dev/2010-September/000895.html
2020-01-10 18:33:11 +01:00
Sébastien Villemot 8624b4f004 Merge branch 'Ramsey_Example' into 'master'
Add example mod-file for Ramsey and OSR

Closes #1645

See merge request Dynare/dynare!1694
2020-01-10 17:02:54 +00:00
Johannes Pfeifer 647ba4e99b Add example mod-file for Ramsey and OSR
Closes https://git.dynare.org/Dynare/dynare/issues/1645
2020-01-10 17:56:22 +01:00
Sébastien Villemot 82cc6a91ca Merge branch 'doc' into 'master'
Documentation around change to ramsey

Closes #1678 and #1682

See merge request Dynare/dynare!1693
2020-01-10 14:48:16 +00:00
Johannes Pfeifer 2c8c120298 Replace various references to deprecated ramsey_policy by ramsey_model 2020-01-10 15:26:50 +01:00
Johannes Pfeifer 055710c938 Change ordering of optimal policy commands
Moves common planner_objective command to front
2020-01-10 15:11:09 +01:00
Johannes Pfeifer 7245cb2ef3 Document evaluate_planner_objective
Also clarifies restructures section on optimal policy and clarifies calling order of commands
2020-01-10 08:38:22 +01:00
Johannes Pfeifer f8e415a868 Change perfect foresight example code to suggested new syntax 2020-01-09 19:30:38 +01:00
Stéphane Adjemian (Charybdis) 3e408ffd6b
Updated dseries submodule (flip method and geometric nanmean).
[skip ci]
2020-01-09 19:16:15 +01:00
Sébastien Villemot 89dc67eb46
Convert mjdgges MEX to Fortran 2008 2020-01-09 09:23:07 +01:00
Sébastien Villemot dd1e4d238b
Build system: remove useless rules for preprocessed Fortran 2008 files
Automake actually provides such rules.
2020-01-08 18:37:26 +01:00
Houtan Bastani fcbdfec0d8
Revert "doc: using `desc_addname` doesn't allow for line breaks."
This reverts commit 6d516c39bf.
2020-01-08 17:22:41 +01:00
Houtan Bastani 6d516c39bf
doc: using `desc_addname` doesn't allow for line breaks.
The method `desc_addname` adds arguments to the name of the node, and hence does not allow for line breaks. In the case of Dynare commands we don't run into a problem with this but we run into this problem with longer MATLAB/Octave commands.

For Dynare commands, we don't run into the problem with commands running over the page width as we use placeholders like `OPTIONS` since the order of the parameters passed to a command is irrelevant

For MATLAB/Octave commands, the order of parameters passed to a function is important, hence we cannot use a placeholder such as `OPTIONS`

closes #1688
2020-01-08 15:43:18 +01:00