Commit Graph

347 Commits (cb411e5642ecd6978c86d4ad3dfca15fa840c913)

Author SHA1 Message Date
Houtan Bastani cb411e5642 pac_expectation: fix substitution 2018-02-09 16:57:12 +01:00
Houtan Bastani dee8867899 preprocessor: fix bug in obtaining diff info 2018-02-09 12:17:07 +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 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 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 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(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
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) 8e767ee720 Merge branch 'master' into ecb-master
Fixed conflicts:
	matlab/backward/backward_model_forecast.m
	preprocessor/DynareBison.yy
	preprocessor/ParsingDriver.hh
	tests/practicing/datasaver.m
2017-08-30 11:51:56 +02:00
Houtan Bastani 49ec4f3545 Merge branch 'state_var' 2017-08-29 16:08:11 +02:00
Houtan Bastani 076fb75f98 preprocessor: add model_local_variable declaration for declaring model local variables with tex names. Closes #563 2017-08-28 17:24:56 +02:00
Houtan Bastani 48d6155dbc preprocessor: add write_equation_tags option to write_latex_original_model and write_latex_static_model. closes #1431 2017-08-24 16:10:53 +02:00
Stéphane Adjemian (Scylla) dc490570ab Merge branch 'master' into ecb-master
Fixed conflict in preprocessor/ModFile.cc
2017-07-27 22:48:29 +02:00
Houtan Bastani 2930977129 preprocessor: store max lead/lag info, write to output 2017-07-27 12:33:19 -04:00
Stéphane Adjemian (Charybdis) 9b4cb8b8ca Merge branch 'master' into ecb-master 2017-06-29 13:33:29 +02:00
Houtan Bastani 955fb4f003 preprocessor: print JSON deriv detail by default; use option to print less-detailed versions of dynamic/static models 2017-06-29 13:08:41 +02:00
Houtan Bastani c59b6ab035 preprocessor: write certain variables from M_ to JSON output 2017-06-28 17:11:24 +02:00
Stéphane Adjemian (Charybdis) 507fad86a3 Cosmetic change.
A "lag"" key with a negative value should be interpreted as a lead (and not a
lag). Possible solutions are (1) Change the sign of the value, (2) Add a new
key "lead" and consider only positive values, and (3) Change the key name for
"shift" with negative values for lags and positive values for leads.

The commit implements the third choice.
2017-06-28 15:49:09 +02:00
Sébastien Villemot ec561138d4 Fix various typos (thanks lintian). 2017-06-28 15:06:54 +02:00
Houtan Bastani 2de9041ba7 Merge branch 'master' into ecb-master 2017-06-28 12:16:05 +02:00
Houtan Bastani c66e000b5b preprocessor: remove warning on int/size_t comparison 2017-06-28 12:06:20 +02:00
houtanb 69b22be5ac Merge branch 'master' into ecb-master 2017-06-23 14:31:39 +02:00
houtanb e6c5a8000b preprocessor: write original model in JSON output after computing pass 2017-06-23 14:20:48 +02:00
houtanb 95dda50de1 preprocessor: add tag information to cloned dynamic model 2017-06-23 14:19:57 +02:00
Houtan Bastani 462f0d85f4 Merge branch 'master' into ecb-master 2017-06-19 18:02:57 +02:00
Stéphane Adjemian (Charybdis) 7af01dd0a2 Merge branch 'master' into json 2017-06-16 20:03:36 +02:00
Houtan Bastani f9e7594009 fix bug: remove debugging code left in 5fd75681151bf12b676ce2c241e84eb1b070b045 2017-06-14 20:51:37 +02:00
Houtan Bastani cb369b3b98 preprocessor: support adl and diff 2017-06-14 16:12:08 +02:00
Stéphane Adjemian (Charybdis) 51feda7d02 Fixed code indentation. 2017-06-14 07:01:31 +02:00
Stéphane Adjemian (Charybdis) a01b347564 Fixed indentation if c and c++ files. 2017-06-01 19:58:32 +02:00
Stéphane Adjemian (Charybdis) d2b7503e1c Fixed indentation of c/h/cc/hh files. 2017-05-16 16:30:27 +02:00
Houtan Bastani 33f659a866 preprocessor: clean up commit 63180c9e5922d3f198684647051231344486c55d 2017-05-04 16:54:47 +02:00
Houtan Bastani a2771a62ad var_model: allow non model-block variables in VAR 2017-05-04 16:15:33 +02:00
Stéphane Adjemian (Charybdis) d7336eb317 Merge branch 'master' into ecb-master
Model inversion of backward looking models.
2017-05-02 23:15:42 +02:00
Houtan Bastani a85cc7b451 preprocessor: change trend test to warning. #1389 2017-04-20 18:41:28 +02:00
Houtan Bastani 35adc47c14 Merge branch 'master' into ecb-master 2017-04-14 11:35:43 +02:00
Houtan Bastani 053407314d preprocessor: add option to write equation tags in latex output. closes #477 2017-04-04 16:08:30 +02:00
Houtan Bastani 3308f252c9 preprocessor: add aux var/equation when var_model is of order > max lag of its variables in the model block 2017-03-22 09:41:10 +01:00
Houtan Bastani f3e4a75aad var_forecast: make calls more efficient 2017-03-22 09:41:10 +01:00
Houtan Bastani 323a3684bf var_forecast: only make one call per var model, regardless of forecast horizon 2017-03-22 09:41:09 +01:00
Houtan Bastani a4004ac8bf var_forecast: fix writing in dynamic file 2017-03-22 09:41:09 +01:00
Houtan Bastani f45575fb74 var_forecast: create separate VarExpectationNode class to better handle calls to .m function that calculates var forecasts 2017-03-22 09:41:09 +01:00
Houtan Bastani 012360c370 var_forecast: create individual .m files for each forecast 2017-03-22 09:41:09 +01:00
Stéphane Adjemian (Charybdis) d089c730d4 Remove preprocessor warning.
Do not issue a warning when observed exogenous variables do not appear
in the model.
2017-03-22 09:41:09 +01:00
Johannes Pfeifer 5a35040126 Make sure block-decomposed model returns with correct error code if Inf or NaN is encountered
Missing from 5f85d3a2005ae1d2b3650776cc33830967721159 where only residual was set to error code. If oo_.deterministic_simulation.status is not set to 0, model will erroneously be considered as solved and homotopy will not be triggered.
2017-03-17 10:07:13 +01:00