Commit Graph

1970 Commits (107ad1432bb0d2b3f963486d91fa88a30954ee3e)

Author SHA1 Message Date
Houtan Bastani d89c73b177 pac_expectation: remove “param” from “discount_param_index” because it is always a parameter 2018-02-15 15:54:41 +01:00
Houtan Bastani 75ba2c4e9f pac_expectation: clarify output for growth 2018-02-15 15:54:10 +01:00
Houtan Bastani 97fd1324a1 pac_expectation: accept exogenous variables for growth argument 2018-02-15 15:34:15 +01:00
Houtan Bastani 7a52ebe141 preprocessor: pac_expectation: fix typo 2018-02-15 13:44:45 +01:00
Houtan Bastani 662d3f71ce preprocessor submodule: README.md 2018-02-15 12:42:45 +01:00
Houtan Bastani 23f5cd1eb7 preprocessor submodule: gitignore 2018-02-15 12:40:40 +01:00
Houtan Bastani 2f9350b164 preprocessor submodule: build system 2018-02-15 12:40:17 +01:00
Houtan Bastani b504f160ca move files to src directory 2018-02-15 11:48:04 +01:00
Houtan Bastani 74eefb72e0 preprocessor submodule: license files 2018-02-15 11:23:47 +01:00
Houtan Bastani 89ae704806 preprocessor: add PAC equation parameter info to pac_expectation output 2018-02-12 17:37:53 +01:00
Houtan Bastani 83d1e921b6 preprocessor: initialize value to suppress warning 2018-02-12 15:34:04 +01:00
Houtan Bastani beeef36a24 preprocessor: pac_expectation: add equation number info 2018-02-12 15:21:36 +01:00
Houtan Bastani 2e3638a6c3 preprocessor: pac_expectation: make growth parameter optional 2018-02-12 11:46:02 +01:00
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