Commit Graph

1782 Commits (4897ab7d6955dd209aa3f417374f7287fee9ae9b)

Author SHA1 Message Date
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
Stéphane Adjemian(Charybdis) 26bc8d50b6 Merge branch 'master' into ecb-master
Fixed conflicts in:
	matlab/backward/backward_model_irf.m
	matlab/modules/dseries
	matlab/utilities/general/isint.m
	preprocessor/DynareBison.yy
	preprocessor/DynareFlex.ll
	preprocessor/ModFile.cc
	preprocessor/ParsingDriver.hh
2017-10-14 17:12:57 +02:00
Houtan Bastani dad94a7d58 preprocessor: clean up xref JSON printing 2017-10-13 16:21:13 +02:00
Stéphane Adjemian (Scylla) 0bfc70676f Upgraded dseries and dates classes.
- Switched to master branch with new OOP interface.
 - Removed initialization of empty dseries and dates objects (preprocessor).
2017-10-10 10:45:07 +02:00
Houtan Bastani badd9069cc preprocessor: fix generate_irfs syntax. closes #1531 2017-10-09 12:12:48 +02:00
Houtan Bastani 8c3cafb183 Merge pull request #1533 from JohannesPfeifer/interfaces
Add preprocessor options for GMM, SMM, IRFs
2017-10-06 15:30:05 +02:00
Johannes Pfeifer abbddd5854 Add preprocessor options for GMM, SMM, IRFs 2017-10-06 15:06:38 +02:00
Houtan Bastani 1e40e0a8a1 preprocessor: interface for generate_irfs block. Closes #1531 2017-10-06 15:00:55 +02:00
Houtan Bastani 51ee883f21 preprocessor: add basic gmm smm statements, add options later. #1530 2017-10-05 15:13:17 +02:00
Houtan Bastani 6c9c01fe09 preprocessor: add missing fill! statements to static/dynamic functions 2017-10-02 11:14:35 +02:00
Houtan Bastani b398b379fc preprocessor: perpetuate nopreprocessoroutput option to preprocessor code #1390 2017-09-28 14:58:25 +02:00
Stéphane Adjemian (Scylla) 16dc22b611 Merge branch 'master' into ecb-master
Fixed conflicts:
	doc/userguide/models/fs2000ns_steadystate.m
	doc/userguide/models/fsdat.m
	matlab/modules/dseries
	mex/sources/estimation/tests/logposterior_dll_test/random_walk_metropolis_hastings_core.m
	mex/sources/estimation/tests/logposterior_dll_test/rawdata_euromodel_1.m
	mex/sources/estimation/tests/random_walk_metropolis_hastings_core.m
	mex/sources/estimation/tests/rawdata_euromodel_1.m
2017-09-28 10:33:17 +02:00
Houtan Bastani b3ccd928e3 preprocessor: special output for power deriv in JSON 2017-09-27 15:25:32 +02:00
Houtan Bastani bde9cfa211 preprocessor: remove unnecessary global declaration. closes #1518 2017-09-18 11:42:36 +02:00
Houtan Bastani 42d40d00a6 preprocessor: fix int/size_t comparison warning for g++ 2017-09-15 10:59:58 +02:00
Houtan Bastani f9901a990e remove file that was erroneously included in 25121bca4f9c97fed28599e9f9adeba2028e5bd0 2017-09-15 09:39:59 +02:00
Stéphane Adjemian (Scylla) 46b8f4b9f3 Fixed typo. 2017-09-13 18:34:02 +02:00
Houtan Bastani e7ee38824f Merge branch 'master' into ecb-master 2017-09-13 18:27:15 +02:00