Commit Graph

128 Commits (beb7d42d748f9f0f5216ed7aca93dceb4f73df2c)

Author SHA1 Message Date
Stéphane Adjemia (Scylla) 650c78f99d
Merge branch 'master' into ecb-master 2018-11-30 21:34:56 +01:00
Sébastien Villemot 7a75872f72
Modernization: use tilde (~) syntax for ignored output arguments 2018-11-13 18:02:09 +01:00
Stéphane Adjemian(Charybdis) c9a38c4de7 Merge branch 'master' into ecb-master
Fixed conflicts:
 - tests/run_block_byte_tests_octave.m
2018-08-04 21:08:08 +02:00
Sébastien Villemot d03cc56587 solve_algo=7 and stack_solve_algo=2 are now allowed under Octave
The gmres() function has been implemented (actually since Octave 3.4.1!).
2018-08-02 15:20:39 +02:00
Stéphane Adjemian(Charybdis) 51332c6fd6 Fixes related to the new "+" subfolder. 2018-07-10 18:34:49 +02:00
Stéphane Adjemian(Charybdis) 85a585c73e Merge branch 'master' into ecb-master+folder
Fixed conflicts in:
	tests/block_bytecode/run_ls2003.m
2018-07-10 10:18:55 +02:00
Sébastien Villemot a1b8bd39b2 Move the location of various generated files on the filesystem
- M and MEX files are now under +${MODELNAME}/
- bytecode, C source and JSON now under ${MODELNAME}/model/
2018-06-27 17:03:39 +02:00
Houtan Bastani e9c631de7d Merge branch 'master' into ecb-master 2018-06-07 18:47:36 +02:00
Sébastien Villemot 79484607a7 Fix various issues with stack_solve_algo=7 and lags on exogenous > 1
Complete the fix started in 8913791ff0.

Change the test case to prevent regressions.
2018-06-07 16:14:02 +02:00
Michel Juillard 8913791ff0 fixes bug for solve_algo = 10 and lags on exogenous variables 2018-06-07 12:21:58 +02:00
Stéphane Adjemian (Charybdis) 3a052f500c Merge branch 'master' into ecb-master
Fixed conflict in dseries submodule.
2018-02-10 12:53:34 +01:00
Johannes Pfeifer 224ccb7bab sim1_linear.m: change hard-coded tolerance to option
The tolerance for the steady state check should depend on the accuracy of the steady state computation
2018-02-07 18:42:12 +01:00
Houtan Bastani fe8dfba59d 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
Stéphane Adjemian (Scylla) 7be8f10e0e Use cells of strings instead of char arrays. 2018-01-09 22:30:01 +01:00
Stéphane Adjemian (Scylla) 167992f7e7 Merge branch 'master' into ecb-master
Fixed conflicts:
	preprocessor/DynareBison.yy
	preprocessor/Statement.hh
2017-08-31 12:09:43 +02:00
Houtan Bastani a51fef393a aesthetic fix 2017-08-30 17:44:41 +02:00
Stéphane Adjemian (Scylla) eb3f33df00 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
Stéphane Adjemian (Scylla) 5429821719 Fixed incomplete commit 1a4257ac4b. 2017-08-16 23:29:15 +02:00
Stéphane Adjemian (Scylla) 131a68ea6f Provide more informations if expected shocks are declared after the terminal period. 2017-08-16 16:43:43 +02:00
Stéphane Adjemian (Scylla) 10047feee5 Test if shocks are declared.
Fixes bug introduced in 97b894a1cd, if no shocks
are declared (for instance if the user is interested in the transition to the
steady state).
2017-08-16 16:04:15 +02:00
Johannes Pfeifer 97b894a1cd Provide meaningful error message if oo_.exo_simul is larger than options_.periods 2017-08-16 16:00:55 +02:00
Stéphane Adjemian (Scylla) 1a4257ac4b Efficiency change.
Reduced the size of the unnecessary large array for the exogenous variables
introduced in 57fd56c90a.
2017-08-16 15:44:00 +02:00
Johannes Pfeifer 57fd56c90a sim1_linear.m: Fix evaluation of dynamic model at deterministic steady state
Did not correctly account for exogenous variables being potentially present with leads and lags
2017-08-01 11:04:46 +02:00
Stéphane Adjemian (Charybdis) 7d373f0d7e Merge branch 'master' into ecb-master 2017-06-03 14:51:28 +02:00
Stéphane Adjemian (Charybdis) 99cb731112 Fixed indentation of matlab files. 2017-06-01 19:43:18 +02:00
Stéphane Adjemian (Charybdis) 1bf81c9f5a Fixed copyright notices. 2017-05-18 18:36:38 +02:00
Stéphane Adjemian (Charybdis) 5417b27ac7 Fixed indentation of matlab files. 2017-05-16 15:10:20 +02:00
Stéphane Adjemian (Charybdis) a53636e24e Fixed copyright notices. 2017-05-16 14:11:15 +02:00
Stéphane Adjemian (Charybdis) 88e1701289 Removed useless commas and semicolons. 2017-05-16 13:24:46 +02:00
Stéphane Adjemian (Charybdis) 5ef2d650b2 Fixed function name in header. 2017-05-16 13:24:46 +02:00
Ferhat Mihoubi 981e31c8c3 Fix issues in bytecode with option extended_path related to the size of endo_simul and exo_simul
(cherry picked from commit ab7acc49e30fbcb292d63d58281581a308716b4c)
2017-05-08 18:40:18 +02:00
Ferhat Mihoubi e248d8bf59 Fix memory and periods issues in bytecode
(cherry picked from commit fa5dd681abcb3243a5ee9be1f71fdfc51bced1cd)
2017-05-08 18:39:44 +02:00
Houtan Bastani b3fa669717 bug fix introduced in 234aaacf92 2017-03-24 17:13:03 +01:00
Marco Ratto 234aaacf92 factorized display of critical values. 2017-03-23 00:08:05 +01:00
Stéphane Adjemian (Charybdis) ee2c30fd97 Partialm cherry-pick of 28e95d817a181f758dab595d6a14de0ff348bed5
Give more informations in case of NaN, Inf or non real variables.

Closes PR #1385.
2017-03-22 14:04:35 +01:00
Johannes Pfeifer 1c070f536a Add headers to various functions 2016-08-23 17:28:41 +02:00
Johannes Pfeifer 8f689ce8d2 Correct header of perfect-foresight-models/perfect_foresight_mcp_problem.m 2016-08-23 17:28:41 +02:00
Michel Juillard 22f49971bc fixing bug in mcp model setup
makes perfect_foresight_problem more efficient
added test case for stack_solve_algo == 7
2016-07-03 10:56:44 +02:00
Michel Juillard 0ce2834281 extended path: fixed boundaries for linear problem 2016-05-31 12:10:12 +02:00
Michel Juillard c14125d585 PATH: fixing bugs 2016-05-31 12:10:12 +02:00
Michel Juillard d106b20b69 perfect foresight: set boundaries with PATH 2016-05-31 12:10:12 +02:00
Michel Juillard c159dff19c adding hook for PATH solver 2016-05-31 12:10:12 +02:00
Stéphane Adjemian (Charybdis) dfbad0404d Fixed crash in sim1_linear when periods=1.
Closes #1176.
2016-05-26 22:19:36 +02:00
Stéphane Adjemian (Charybdis) fb4dfc6da6 Fixed typo. 2016-05-24 22:32:02 +02:00
Michel Juillard 28c0c92ae8 fixing typos
(cherry picked from commit 86995a3bd478a3dc02919424aeb77e2a550a84c5)
2016-05-24 17:57:26 +02:00
Stéphane Adjemian (Hermes) be0f6230ad Cosmetic changes.
- Use a switch-case block.
 - Added a warning when the user tries to solve a linear(ized) model
with solve_algo different from 0 (for a linear model).
 - Added an error message if the user try to solve a linearized model
with stack_solve_algo=6 (not implemented).
2016-05-24 17:26:06 +02:00
Stéphane Adjemian (Hermes) 1815eb8e56 Code factorization. 2016-05-24 17:26:06 +02:00
Stéphane Adjemian (Hermes) 8a163842d0 Removed oo_ from sim1_linear routine. 2016-05-24 17:26:06 +02:00
Stéphane Adjemian (Hermes) 53747cb082 Fixed lmmcp option.
This option may be used in extended_path and perfect_foresight_solver commands.
2016-05-24 17:26:06 +02:00
Stéphane Adjemian (Charybdis) e0be60710c Removed oo_ from sim1_purely_{backward,forward} routines. 2016-05-24 17:26:06 +02:00