Commit Graph

12129 Commits (fc27fad46d3a8696621e8878bbbcaa868fde8fc6)

Author SHA1 Message Date
Sébastien Villemot fc27fad46d
Preprocessor: Do not simplify constant equations which have a tag attached
In particular, in the case of an 'mcp' tag, this could lead to a convergence
failure.

Also modify the lmmpc/rbcii.mod test so that it fails if convergence is not
obtained, in order to detect such regressions earlier.

Closes: #1697

This preprocessor update also includes the following changes:
— removal of license.txt, now merged in back in the main Dynare one
– various code simplifications and modernizations in the macro processor
— minor code simplification in parsing of the --+ options: … +-- line
2020-01-27 16:12:25 +01:00
Sébastien Villemot 22053feb47 Merge branch 'minimal_state_space_test_suite_old_matlab' into 'master'
Fix minimal state space test files for old matlab

See merge request Dynare/dynare!1700
2020-01-26 16:00:03 +00:00
Willi Mutschler 3ecc44b542 Fix minimal state space test files for old matlab 2020-01-26 16:00:02 +00:00
Sébastien Villemot 01d5d734c6
CI: skip two further tests under MATLAB R2009b, that apparently trigger a MATLAB bug 2020-01-24 16:40:55 +01:00
Sébastien Villemot b49e2203d6
CI: put old MATLAB version in a variable 2020-01-24 16:18:08 +01:00
Sébastien Villemot 3b9cc0e9f7
Testsuite: use whitespace-separated syntax for options in .mod file
Follows from d3e90a8dbf.
2020-01-24 16:01:17 +01:00
Sébastien Villemot a40cfedd3b Merge branch 'identification_higher_order' into 'master'
Identification Toolbox: improvements, bugfixes, license, preparation for getting rid of globals

Closes #1694 and #1689

See merge request Dynare/dynare!1697
2020-01-24 14:41:16 +00:00
Willi Mutschler 3d51ee9e23
Added unit tests for minimal state space system 2020-01-24 14:20:05 +01:00
Willi Mutschler e843ccbd0d
📃 Update license 2020-01-24 12:45:20 +01:00
Willi Mutschler aa0f278edc
📃 Update license 2020-01-24 12:45:15 +01:00
Willi Mutschler 5525a7c515
🏇 Better minimal state space handling and unit tests 2020-01-24 12:45:08 +01:00
Willi Mutschler 1aa3dda449
🚿 construct list of fields needed from M_, options_, oo_
Get fields
2020-01-24 12:45:01 +01:00
Willi Mutschler 46c4dea559
📄 Updated code comments 2020-01-24 12:44:54 +01:00
Willi Mutschler a62e69cf39
🐛 fix identification strength barplots for one parameter 2020-01-24 12:44:34 +01:00
Willi Mutschler c4f7c416fa
🐛 Fix #1694 by robust rank tolerance and histc 2020-01-24 12:44:26 +01:00
Sébastien Villemot d3e90a8dbf
Fix the handling of options nopreprocessoroutput, onlyjson and onlymacro when they appear at the top of the .mod file
The nopathchange is still not supported in this context, so document it.

Also recommend the whitespace-separated syntax instead of the comma-separated
syntax, since the latter is inconsistent with the way options are passed on the
command-line.

Closes: #1667
2020-01-23 18:58:08 +01:00
Sébastien Villemot 09be021dcd
Add license header for allVL1.m
Ref. #1689
2020-01-22 18:03:47 +01:00
Sébastien Villemot ef417dab00
Remove unused m4 file 2020-01-22 18:03:47 +01:00
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