Michel Juillard
7d11ed7642
histval: use now the same treatment for exogenous and exogenous det
...
variables as for endogenous ones. Closes issue #617 .
2015-07-29 16:12:53 +02:00
Michel Juillard
b8194f7845
histval: replaced initialization with NaN by zeros
2015-07-23 14:25:18 +02:00
Houtan Bastani
383a852c9c
Revert "Merge branch 'rmExtraExo'"
...
This reverts commit 28ffa9c56f
, reversing
changes made to 60b3577a09
.
Conflicts:
preprocessor/Shocks.cc
preprocessor/SymbolTable.cc
2015-06-09 16:42:51 +02:00
Houtan Bastani
28ffa9c56f
Merge branch 'rmExtraExo'
2015-05-28 12:33:56 +02:00
Houtan Bastani
fe8750c1bc
preprocessor: add minimal_workspace option to dynare statement, #946
2015-05-28 11:50:39 +02:00
Houtan Bastani
acb6f70a29
preprocessor: provide more info in error message
2015-04-16 18:47:31 +02:00
Houtan Bastani
a8888f4c70
preprocessor: fix error message for InitParamStatement clone/reindex method
2015-04-09 16:17:47 +02:00
Houtan Bastani
c71d1e77a9
preprocessor: replace catch all exceptions in catch statements for clone/reindex methods
2015-04-09 16:17:22 +02:00
Houtan Bastani
1f58e0cc64
preprocessor: remove unnecessary cloneAndReindexSymbIds method
2015-04-09 16:14:25 +02:00
Houtan Bastani
4d8e0c7f3b
preprocessor: pointer to symbol_table unnecessary
2015-04-09 16:08:55 +02:00
Houtan Bastani
9443157a66
preprocessor: remove spurious print statement
2015-03-10 11:24:20 +01:00
Houtan Bastani
6c937b1554
preprocessor: remove extraneous varexo, update model and statements, #841
2015-03-06 16:44:17 +01:00
Sébastien Villemot
a03bc44d45
Remove workaround preventing the use of "shocks" before "endval".
...
It now works correctly since 82b31156
.
Closes #35
2014-04-08 17:53:10 +02:00
Sébastien Villemot
9eebfc87b0
Improvements to smoother2histval (ref #594 )
...
- fix handling of auxiliary variables related to lagged endogenous
- add preprocessor interface
- add histval_file
- add tests (for smoother2histval with outfile, and for histval_file)
2014-04-03 15:05:20 +02:00
Michel Juillard
98a7d67478
Revert "ms-dsge: remove unnecessary output"
...
This reverts commit 2568e87b4394961fed1da7d2337d6cae637b4166.
2014-02-24 13:33:48 +01:00
Houtan Bastani
14fbc49c9b
ms-dsge: remove unnecessary output
2014-02-24 12:41:02 +01:00
Houtan Bastani
0c5966d487
ms-dsge: add param initialization to C output
2014-02-24 12:41:02 +01:00
Sébastien Villemot
9ba5814c2c
Fix size of M_.endo_histval.
...
Should fix crashes on models with leads/lags of more than one on exogenous.
Closes #617
2014-02-17 17:52:37 +01:00
Sébastien Villemot
61485ab809
Fix copyright notices
2013-06-12 17:04:46 +02:00
Sébastien Villemot
9ba5ffd68e
Revert "Reset oo_.{exo_}steady_state to zero before endval"
...
This reverts commit cf146ec4e5
.
2013-05-27 17:31:41 +02:00
Sébastien Villemot
cf146ec4e5
Reset oo_.{exo_}steady_state to zero before endval
...
This is necessary to enforce the documented behavior which says that, if a
variable is not given a value in the endval block, a zero value is assumed.
2013-04-22 18:02:32 +02:00
Houtan Bastani
3530417cf2
all_values_required keyword for initval and endval
2012-11-06 15:45:08 +01:00
Sébastien Villemot
5657dc8228
Amend the workaround for ticket #35 , so that shocks+endval+simul can looped over
2012-07-30 17:01:42 +02:00
Houtan Bastani
0ca000cdc9
preprocessor: display a summary of preprocessor warnings at the end of a Dynare run
2012-01-30 10:44:14 +01:00
Houtan Bastani
58a03937ec
bug_fix: add missing ifstream close statement
2012-01-18 14:43:04 +01:00
Sébastien Villemot
30cbcdbb55
Store histval information for endogenous in M_.endo_histval
...
Really closes : #157
2011-12-28 11:35:22 +01:00
Sébastien Villemot
551db4a446
Workaround for ticket #157
2011-02-04 12:38:12 +01:00
Sébastien Villemot
6f93b18802
Fix bug in histval with exogenous variables in a stochastic setup
2011-01-13 18:18:57 +01:00
Sébastien Villemot
57a2e33828
Histval: fixed bug for exogenous introduced in previous commit
2010-10-20 14:56:35 +02:00
Sébastien Villemot
4a252d8d7c
Histval block:
...
- fail when user tries to initialize a variable at a period which is not in the model, and make the error message explicit
- correctly handle exogenous variables in stochastic mode, which are also substituted with an aux var
- added test files
2010-10-20 14:47:03 +02:00
Sébastien Villemot
dbc9795a08
Preprocessor: rename "NodeID" in "expr_t"
2010-09-17 12:13:26 +02:00
Sébastien Villemot
25cf12f4f1
Preprocessor: uniformize typedef names (with a "_t" suffix)
2010-09-16 19:00:48 +02:00
Michel Juillard
a5b5f39987
Preprocessor: corrected bug on HISTVAL with lags > 1
2010-09-10 11:43:48 +02:00
Houtan Bastani
bab490fc7f
DSGE-VAR: support deprecated way of declaring dsge_prior_weight
2010-06-22 10:38:54 +02:00
sebastien
e6f1a53e60
Beautified preprocessor code (uncrustify + emacs + manual adjustments, in particular with templates in MacroValue)
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3249 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-16 17:13:23 +00:00
sebastien
ffd9b2d405
preprocessor: clean-up workaround for acosh(), asinh(), atanh() on Win 64 platforms
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3101 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-29 17:16:10 +00:00
sebastien
97cb944831
preprocessor:
...
* In stochastic mode, now transforms the model by removing leads and lags greater or equal to 2 (creating auxiliary variables and equations in the process)
* Information about these variables is in structure M_.aux_vars
* Automatically add the necessary initialization for auxiliary vars after the initval block or load_params_and_steady_state
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3002 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-30 15:10:31 +00:00
sebastien
479f3340f7
Preprocessor: various minor changes, including
...
* moved some declarations from ExprNode.hh to BlockTriangular.hh to which they conceptually belong
* replaced non standard boolean operators (and, or, not) by standard ones (&&, ||, !)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2812 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-07-06 10:36:36 +00:00
sebastien
cbbaf112e3
trunk preprocessor: fixed bug when loading non-existent steady-state file
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2753 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-10 14:45:41 +00:00
sebastien
d55470ca88
trunk preprocessor: cosmetic changes
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2614 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-20 15:54:19 +00:00
sebastien
5ee346e4fd
trunk: {load,save}_params_and_steady_state now use a text file for communicating (instead of a MAT-file)
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2517 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-24 16:29:58 +00:00
sebastien
4005d25f25
trunk preprocessor:
...
* reorganized symbol table so that internally symbols have a unique integer ID (as a result, sparse code is temporarily in a broken state)
* rewritten from scratch ModFile::evalAllExpressions()
* {load,save}_params_and_steady_state moved to NumericalInitialization.{cc,hh}
* fixed bug related to endval block
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2441 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-27 12:19:25 +00:00
ferhat
29ca49f885
- Correction of several bugs in sparse_dll
...
- Pound expressions accepted with sparse option
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2329 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-19 10:24:31 +00:00
sebastien
2134146033
trunk:
...
* removed obsolete global variables "endval_" and "rplottype_"
* removed duplicate initialization of options_.replic
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2295 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-05 15:34:26 +00:00
sebastien
0a50d6033d
trunk preprocessor: removed obsolete global variables
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2272 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-11-25 14:40:51 +00:00
sebastien
59fad3df56
trunk preprocessor: removed unused recursive variable type
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2167 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-17 11:54:35 +00:00
sebastien
cc64a40ac7
trunk preprocessor: renamed "Type" to "SymbolType" for the sake of clarity
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2166 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-17 10:20:19 +00:00
sebastien
120d412152
v4: dropped Scilab support
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1878 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-06-16 16:33:28 +00:00
sebastien
fcc7233a37
v4 preprocessor:
...
* fixed bug in InitValFile statement (typo in Matlab option name)
* various cosmetic changes
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1798 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-04-14 09:17:15 +00:00
michel
74fb4a04c5
v4: fixing initvalf
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1795 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-04-14 07:22:10 +00:00