Commit Graph

16820 Commits (covariance-quadratic-approximation)

Author SHA1 Message Date
Johannes Pfeifer 021b9dbb25 identication.checks.m: remove wrong condition 2023-12-11 18:04:43 +01:00
Johannes Pfeifer daecd1f720 DsgeSmoother.m: remove unnecessary space 2023-12-11 18:04:42 +01:00
Johannes Pfeifer 5a3d545db2 var_sample_moments.m: cosmetic changes 2023-12-11 18:04:42 +01:00
Johannes Pfeifer ed80c4ff3f load_last_mh_history_file.m: cosmetic changes 2023-12-11 18:04:42 +01:00
Johannes Pfeifer 678bd7aca9 dyn_forecast.m: cosmetic header fix 2023-12-11 18:04:42 +01:00
Johannes Pfeifer 97f6a4219b smirnov_test.m: update call to histc under Matlab 2023-12-11 18:04:41 +01:00
Johannes Pfeifer 31c91080e1 Remove shiftS.m, which is a duplicate of the one in dseries 2023-12-11 18:01:34 +01:00
Johannes Pfeifer 62e8b275a0 Remove further unused function from matlab folder 2023-12-11 18:01:33 +01:00
Johannes Pfeifer 435b103cf5 Remove unused functions, mostly related to old analytical derivatives 2023-12-11 18:01:33 +01:00
Sébastien Villemot d844043877
Merge branch 'plot_shock_decomposition' of git.dynare.org:JohannesPfeifer/dynare
Ref. !2215
2023-12-08 15:49:19 +01:00
Sébastien Villemot a31c76403d
Windows and macOS packages: move meson native/cross files to OS-specific directory 2023-12-08 14:34:14 +01:00
Sébastien Villemot 4ef9245a95
MEX files: remove calls to virtual method during construction
Such calls may bypass virtual dispatch.

Automatically detected by clang-tidy with
clang-analyzer-optin.cplusplus.VirtualCall check.
2023-12-07 18:34:38 +01:00
Sébastien Villemot 91c677ca7f
MEX files: drop C++ preprocessor directives now obsolete
Dynare++ is no longer distributed as a standalone binary.
2023-12-07 17:57:01 +01:00
Sébastien Villemot 56289c72d0
Drop obsolete Dynare++ example
[skip ci]
2023-12-07 16:04:33 +01:00
Sébastien Villemot 1f5f668313
Move docker folder below the scripts folder
[skip ci]
2023-12-07 16:02:33 +01:00
Johannes Pfeifer 54c4e9df09 plot_shock_decomposition.m: filter out case where data to plot is empty and writing the Excel file will crash 2023-12-07 13:50:18 +01:00
Stéphane Adjemian (Guts) 8d8176fc30
Remove unused (saved on disk) vector of indices. 2023-12-07 12:29:28 +01:00
Sébastien Villemot 40ef192e37
Merge branch 'dynare-ident_globals'
Ref. !2213
2023-12-07 12:19:04 +01:00
Johannes Pfeifer 1e5a04c2c5
filt_mc_.m: clarify R2 concept 2023-12-07 12:18:00 +01:00
Johannes Pfeifer f3a1ba56e3
GSA: removed non-working UI context menu and associated functions
Decision taken in Town Square
2023-12-07 12:18:00 +01:00
Johannes Pfeifer af53c65172
dynare_sensitivity.m: update header 2023-12-07 12:18:00 +01:00
Johannes Pfeifer c3b9c499ba
GSA: more fixes to LaTeX output 2023-12-07 12:18:00 +01:00
Johannes Pfeifer 7f027d8f5e
dyn_table.m: reduce white space in output 2023-12-07 12:18:00 +01:00
Johannes Pfeifer 9efb784763
GSA: remove some unused functions and move other to inline ones 2023-12-07 12:18:00 +01:00
Johannes Pfeifer 19b2619d06
Remove unused gsa/gsa_speed.m 2023-12-07 12:17:59 +01:00
Johannes Pfeifer 5d07ff9f8b
GSA: decrease waitbar refresh frequency 2023-12-07 12:11:38 +01:00
Johannes Pfeifer fca782f8e4
Correct LaTeX output by disentangling purpose of input arguments 2023-12-07 12:11:38 +01:00
Johannes Pfeifer 43fc6263af
dyn_latex_table.m: make code robust to including dollar signs in labels and headers 2023-12-07 12:11:38 +01:00
Johannes Pfeifer 37ab539a10
testsuite: provide meaningful output in case of LaTeX errors 2023-12-07 12:11:38 +01:00
Johannes Pfeifer 6adf1c2639
Various cosmetic changes to functions 2023-12-07 12:11:38 +01:00
Johannes Pfeifer 709ef9230f
get_the_name.m: do not pass full options structure as input 2023-12-07 12:11:38 +01:00
Johannes Pfeifer 0ba91259d8
GSA: cosmetic fixes to log_trans_.m and gsa_skewness.m 2023-12-07 12:11:38 +01:00
Johannes Pfeifer dce0967deb
GSA: replace deprecated hist() syntax under MATLAB 2023-12-07 12:11:38 +01:00
Johannes Pfeifer 392721097c
Identification: various cosmetic fixes 2023-12-07 12:11:38 +01:00
Johannes Pfeifer e68793030c
ls2003.mod: factorize tests 2023-12-07 12:11:38 +01:00
Johannes Pfeifer bf6d88a472
Remove globals from identification and GSA
Incidentally cleans up files and fixes LaTeX output
2023-12-07 12:11:36 +01:00
Sébastien Villemot 6a58316a3e
MEX files: disable clang-tidy false positive for call to std::strcpy 2023-12-06 22:24:57 +01:00
Sébastien Villemot 91f2dcdfe1
MEX files: use “auto” when initializing with a template cast to avoid duplicating the type name
Automatically detected by clang-tidy with modernize-use-auto check.
2023-12-06 22:24:56 +01:00
Sébastien Villemot de476ad5ac
MEX files: use a braced initializer list instead of repeating the return type
Automatically detected by clang-tidy with modernize-return-braced-init-list
check.
2023-12-06 22:24:55 +01:00
Sébastien Villemot 123f909b67
MEX files: use pass-by-value + std::move when possible in constructors
Automatically detected by clang-tidy with modernize-pass-by-value check.
2023-12-06 22:24:55 +01:00
Sébastien Villemot fd9a89ab38
MEX files: use default member initialization when possible
Automatically detected by clang-tidy with modernize-use-default-member-init
check.
2023-12-06 22:24:55 +01:00
Sébastien Villemot 15b6e6e6b3
MEX files: no longer use “virtual” keyword when overriding a method
Automatically detected by clang-tidy with modernize-use-override check.
2023-12-06 22:24:55 +01:00
Sébastien Villemot 9d98811cfc
MEX files: use transparent functor for std::multiplies
Automatically detected by clang-tidy using modernize-use-transparent-functors
check.
2023-12-06 22:24:55 +01:00
Sébastien Villemot 8953007440
MEX files: remove unused variables or values
Automatically detected by clang-tidy using
clang-diagnostic-unused-but-set-variable, clang-analyzer-deadcode.DeadStores
and clang-diagnostic-unused-const-variable checks.
2023-12-06 22:24:55 +01:00
Sébastien Villemot d82eecfd39
C++11 modernization: use std::array and std::vector instead of C arrays
Automatically detected by clang-tidy using modernize-avoid-c-arrays check.
2023-12-06 22:24:52 +01:00
Sébastien Villemot 3df4856259
Merge branch 'raftery_lewis_bug' of git.dynare.org:JohannesPfeifer/dynare
Ref. !2214
2023-12-05 18:53:10 +01:00
Sébastien Villemot 11c1f6175e
Add [[nodiscard]] attribute to various functions
Automatically detected using clang-tidy with modernize-use-nodiscard check.
2023-12-05 15:44:23 +01:00
Sébastien Villemot 7864370bfb
perfect_foresight_problem MEX: fix inclusion of dynmex.h
That header is needed from DynamicModelCaller.hh.

Issue detected by clang-tidy.
2023-12-04 18:21:18 +01:00
Sébastien Villemot 911437378c
Remove unused and unmaintained unit test for k-order 2023-12-04 18:21:18 +01:00
Sébastien Villemot 6f38dcd1d5
bytecode MEX: fix logical test
The test “solve_algo >= 6 || solve_algo <= 8” was always true.

Issue detected by clang-tidy using the
clang-diagnostic-tautological-overlap-compare check.
2023-12-04 18:21:13 +01:00