Commit Graph

1907 Commits (130004ef47618d0ea6917dc54494fe2c266db246)

Author SHA1 Message Date
Stéphane Adjemian (Charybdis) e7aeec229e Merge branch 'master' into ecb-master
Fixed conflict in dseries submodule.
2018-02-10 12:53:34 +01:00
Stéphane Adjemian (Charybdis) f480a893d7 Fixed timing issue in pac_expectation expansion. 2018-02-09 18:25:44 +01:00
Houtan Bastani e196e97024 preprocessor: fix eval function 2018-02-09 17:24:21 +01:00
Houtan Bastani cb411e5642 pac_expectation: fix substitution 2018-02-09 16:57:12 +01:00
Houtan Bastani fa96ccbd7a preprocessor: fix typo 2018-02-09 15:49:55 +01:00
Houtan Bastani c1bba660c8 preprocessor: remove extraneous print statement 2018-02-09 14:09:47 +01:00
Houtan Bastani 6138e9c269 preprocessor: add equation info for RHS variables 2018-02-09 14:09:34 +01:00
Houtan Bastani 9f47227a67 preprocessor: provide orig_symb_id and orig_lag if diff operator used on one variable 2018-02-09 12:30:55 +01:00
Houtan Bastani dee8867899 preprocessor: fix bug in obtaining diff info 2018-02-09 12:17:07 +01:00
Houtan Bastani bda91e6204 preprocessor: temporarily remove check to allow diff operator on RHS of VAR 2018-02-08 19:03:26 +01:00
Houtan Bastani 2f28aded6e preprocessor: pac_expectation fixes 2018-02-08 18:17:08 +01:00
Houtan Bastani b60f0d92a0 preprocessor: remove extraneous write statement 2018-02-08 16:01:47 +01:00
Houtan Bastani ac8e8f641e preprocessor: var_model: pac_expectation: add more information to var_model 2018-02-08 13:07:15 +01:00
Houtan Bastani abd3be9928 preprocessor: remove extraneous print statements 2018-02-07 16:52:11 +01:00
Houtan Bastani 59ffefd1ce pac_expectation: modify syntax 2018-02-07 16:50:49 +01:00
Houtan Bastani 544eb615d0 pac_expectation: streamline writing 2018-02-07 14:42:44 +01:00
Houtan Bastani 89c6b6b6ad pac_expectation_operator: change subst_table to more specific type 2018-02-07 10:05:32 +01:00
Houtan Bastani 802c25f6d1 preprocessor: to_string() not compatible with older versions of C++ compiler 2018-02-06 15:04:12 +01:00
Houtan Bastani 2d1c67ed1f preprocessor: pac_expectation operator 2018-02-06 14:55:06 +01:00
Houtan Bastani 77bf21a333 preprocessor: pac: change functionality of diff operator 2018-01-30 11:13:40 +01:00
Houtan Bastani ad1ef0d856 macroprocessor: fix unhandled case of nested ifdef/ifndef statements. closes #1587 2018-01-29 10:58:07 +01:00
Johannes Pfeifer b94ff64cbc Make fast_realtime accept observation as input 2018-01-26 18:23:49 +01:00
Johannes Pfeifer a9a882bb3d initial_condition_decomposition: Add nodisplay, graph_format, fig_name options 2018-01-26 12:09:14 +01:00
Johannes Pfeifer da76711fd6 initial_condition_decomposition: return oo_ output argument to base workspace 2018-01-26 12:09:14 +01:00
Houtan Bastani 46fbd8107c Fix commit reverted in 4d89452e1bb6cc55f0800d6cbf976f2519f822c1. 2018-01-25 00:47:50 +01:00
Stéphane Adjemian (Charybdis) 8bae11e85a Revert "macroprocessor: interpret arrays passed on the command line as arrays instead of strings. closes #1578"
Commit 204d9cd05fef9ac6fda8530536578c05fab66366 fails with gcc 4.9 (I checked that it works flawlessly
with 6.x). The error message is:

MacroDriver.cc:63:24: error: 'class std::basic_string<char>' has no member named 'front'
         if (it->second.front() == '[' && it->second.back() == ']')
                        ^
MacroDriver.cc:63:53: error: 'class std::basic_string<char>' has no member named 'back'
         if (it->second.front() == '[' && it->second.back() == ']')

Ideally we should bump the version of gcc used in the build system, but I will not do that before the
next bug fix release. I suppose it is easier to replace the front() and back() methods.
2018-01-24 22:15:57 +01:00
Houtan Bastani 17dd443341 macroprocessor: allow inline comments. closes #1550 2018-01-23 17:13:46 +01:00
Houtan Bastani 7ffbe32445 macroprocessor: interpret arrays passed on the command line as arrays instead of strings. closes #1578 2018-01-23 16:33:20 +01:00
Houtan Bastani 42d9ad2a41 preprocessor: var_model: adjust checks and functionality for various option combinations 2018-01-15 12:46:46 +01:00
Houtan Bastani 674a4e02f1 preprocessor: store string vectors as cellar 2018-01-15 12:46:45 +01:00
Houtan Bastani 1be77c8fc4 preprocessor: remove requirement to have symbol list after var_model statement 2018-01-15 12:46:40 +01:00
Houtan Bastani 11ffe053b2 preprocessor: add eqtags option to var_model 2018-01-12 16:55:58 +01:00
Johannes Pfeifer 6876b0a7c9 Add preprocessor interface for fast_realtime option of 2018-01-12 09:48:14 +01:00
Houtan Bastani 3da0186774 Merge branch 'master' into ecb-master
# Conflicts:
#	examples/NK_baseline_steadystate.m
#	matlab/backward/backward_model_irf.m
#	matlab/modules/dseries
#	matlab/occbin/setss.m
#	preprocessor/SymbolList.cc
#	tests/identification/as2007/as2007_steadystate.m
#	tests/identification/kim/kim2_steadystate.m
#	tests/particle/dsge_base2_steadystate.m
#	tests/steady_state/walsh1_old_ss_steadystate.m
2018-01-11 16:25:42 +01:00
Houtan Bastani 9c9e8f816f preprocessor: list nonlinear equations in .m file 2018-01-11 12:55:36 +01:00
Stéphane Adjemian (Scylla) 3e98a7bf43 Use cells of strings instead of char arrays. 2018-01-09 22:30:01 +01:00
Houtan 7c22fe1676 preprocessor: add option to remove empty lines from macro-expanded mod file. closes #1551 2017-12-07 18:47:21 +01:00
Houtan 9f8edf87dd preprocessor: add line number to field in structure that macro variables are saved to. #1564 2017-12-07 18:11:00 +01:00
Houtan Bastani f57fb54a45 preprocessor: support echomacrovars(save). closes #1564 2017-12-04 16:56:43 +01:00
Houtan Bastani f836aa92c5 macroprocessor: add @#echomacrovars command. #1564 2017-12-01 16:55:36 +01:00
Johannes Pfeifer 68627a0465 Add diffuse_filter as option to dynare_sensitivity 2017-11-22 16:25:29 +01:00
Houtan Bastani e5b226742d Merge pull request #1549 from JohannesPfeifer/shock_decomp_type
Correct setting of plot_shock_decomp.type
2017-11-08 10:23:09 +01:00
Johannes Pfeifer 0b4e987409 Correct setting of plot_shock_decomp.type
Closes #1548
2017-11-07 20:24:29 +01:00
Houtan Bastani b2e14f33cf preprocessor: add line info for division by zero exception. closes #1546 2017-11-07 12:03:26 +01:00
Houtan Bastani 6436449961 preprocessor: JSON: place local variables in one list. Closes #1495 2017-11-06 15:21:11 +01:00
Houtan Bastani 6afa241ad2 Merge branch 'master' into ecb-master 2017-10-20 15:48:13 +02:00
Houtan Bastani 4087bb5891 preprocessor: json: print steady_state_model file 2017-10-17 11:09:24 +02:00
Houtan Bastani fdb9b745ea preprocessor: json: change model keyword to modfile 2017-10-16 17:53:10 +02:00
Houtan Bastani 9ab0238ba1 Merge branch 'master' into ecb-master 2017-10-16 14:18:30 +02:00
Stéphane Adjemian(Charybdis) be67116bf9 Removed useless commented line in main generated matlab script. 2017-10-14 17:43:20 +02:00