Commit Graph

11493 Commits (89a3e94cbfaa71b2e649a5019a379ba2226c33df)

Author SHA1 Message Date
Sébastien Villemot 89a3e94cbf
Use true/false instead of 1/0 for boolean options
This is more elegant, and makes it easier to distinguish them from integer
options.

Also simplify test expressions for these boolean options.
2019-03-19 15:21:16 +01:00
Sébastien Villemot afde90a4a2
Emacs mode: fix bug introduced in bf60795e8 2019-03-19 14:51:53 +01:00
Sébastien Villemot f59e458ffe
Update preprocessor submodule 2019-03-08 18:59:09 +01:00
Sébastien Villemot 9018963f4f
Update preprocessor submodule 2019-03-08 17:51:37 +01:00
Sébastien Villemot a357003ba7
Octave compatibility fix 2019-03-08 15:59:51 +01:00
Sébastien Villemot 7a2d5d4f0e
1st order approximation: fix for purely-forward models
Closes #1641
2019-03-08 15:54:10 +01:00
Sébastien Villemot 449553e7b6
Dynare++: various improvements 2019-03-08 15:32:30 +01:00
Sébastien Villemot 4c11e9e9ec
Dynare++ kord and MEX: various modernizations and improvements 2019-03-07 19:46:15 +01:00
Sébastien Villemot 598f0193d5
Dynare++ kord library: make test failures fatal
Required an increase for the error tolerance of SW-like models tests.

By the way, decrease the tolerance for the small model.
2019-03-07 11:34:30 +01:00
Sébastien Villemot 629245a240
Dynare++: add kord test journal to CI artifacts 2019-03-07 10:45:26 +01:00
Sébastien Villemot a7de121b01
Dynare++ kord library: some equations were incorrectly omitted from residual error checking 2019-03-07 10:39:33 +01:00
Sébastien Villemot 14f85cf448
Dynare++ kord library: various modernizations and improvements
Note that I removed several #define whose purpose was to avoid typing "typename
ctraits<t>::…". Even though this tends to complicates the code, this is
probably safer, especially since the #define was capturing a free variable (t).
2019-03-06 18:43:04 +01:00
Sébastien Villemot bf60795e8e
Emacs mode improvements
- bugfix: in "model_name", the "model" part will no longer be colorized
- add colorization for on-the-fly type declarations
- no longer categorize dots as word constituents (they are not even symbol
  constituents)
- no longer categorize @ and # as symbol constituents
2019-03-06 18:43:04 +01:00
Houtan Bastani 6f80abd1f8
gui: various fixes to perfect foresight 2019-03-06 14:11:25 +01:00
Houtan Bastani ce97e51aec
small fixes 2019-03-06 14:01:29 +01:00
Houtan Bastani 67df1d2df1
clarify field names 2019-03-06 14:01:29 +01:00
Houtan Bastani 1abec862e1
gui: if no unanticipated shocks, run simulation and return 2019-03-06 14:01:29 +01:00
Houtan Bastani 16dfc206bf
gui: fix up initval and endval: don’t start at simulation at steady state; initialize endogenous variables as well 2019-03-06 14:01:29 +01:00
Sébastien Villemot 6d99b6d120
Dynare++ kord library: various modernizations and simplifications 2019-03-05 18:35:35 +01:00
Sébastien Villemot 7fd95a6b72
Dynare++ kord library: use modern pseudo-random number generators 2019-03-05 12:29:17 +01:00
Sébastien Villemot a062de8e31
Emacs mode: add colorization for "@#include" and "@#includepath"
Also expand the TODO list

[skip ci]
2019-03-04 23:30:28 +01:00
Sébastien Villemot a7db127b74
Emacs mode improvements
* Font locking (colorization)
  - all keywords for statements and blocks are now recognized (but not option names)
  - MATLAB-style (single-quoted) strings now recognized
  - improve handling of macroprocessor (but multiline macro commands/exprs not
    yet working)
  - recognize mathematical functions and constants (nan and inf)
  - highlight the pound-sign for model-local variables

* Indentation
  - basic indentation within blocks (offset customizable through option)
  - more elaborate indentation (e.g. multiline equations or statements) not yet
    working
2019-03-01 18:40:47 +01:00
Sébastien Villemot 29daae72b4
Dynare++: minor modernization 2019-03-01 18:40:46 +01:00
Stéphane Adjemian (Charybdis) 580939d70b
Cosmetic, strmatch() -> find(strcmp()).
[skip ci]
2019-02-28 21:23:05 +01:00
Stéphane Adjemian (Charybdis) e1f1fd2de3
Updated header.
We recently added leads on first differences as an auxiliary variable type.

[skip ci]
2019-02-28 10:23:23 +01:00
Stéphane Adjemian (Charybdis) 3400e13c06
Return 0 if the input is not the name of an endogenous variable.
Also removed the call to deprecated strmatch.

[skip ci]
2019-02-28 10:15:08 +01:00
Sébastien Villemot 81d9b08050
Dynare++ tensor library: various modernizations/improvements 2019-02-27 19:07:01 +01:00
Sébastien Villemot fc35f3a384
Dynare++: make more explicit the interface for extracting the Symmetry of an IntSequence 2019-02-27 17:01:37 +01:00
Sébastien Villemot 9751e6e199
Dynare++: simplify IntSequence by moving a special-purpose constructor into Symmetry 2019-02-27 15:43:22 +01:00
Sébastien Villemot 07ef21fdc7
Dynare++: more explicit interface for unfolding an IntSequence wrt a Symmetry 2019-02-27 15:29:06 +01:00
Sébastien Villemot d86101327e
Dynare++: more explicit interface for inserting into a IntSequence 2019-02-27 14:39:47 +01:00
Sébastien Villemot 05d1c6967d
license.txt: use SPDX short name for FSFAP license; use secure URL for homepage 2019-02-27 12:21:44 +01:00
Sébastien Villemot 466959374f
Remove obsolete documentation of extended preprocessor 2019-02-27 12:16:27 +01:00
Sébastien Villemot a062ea2b69
Dynare++ tensor library: various modernizations 2019-02-26 18:59:45 +01:00
Sébastien Villemot 1639f75a3c
Dynare++: improve interface to not-in-place matrix multiplications 2019-02-26 18:59:45 +01:00
Sébastien Villemot e3967bda9a
Dynare++: improve interface to matrix transpose 2019-02-26 18:59:45 +01:00
Sébastien Villemot 16cc191298
Dynare++ tensor library: last batch of modernizations of testsuite 2019-02-26 18:59:45 +01:00
Sébastien Villemot b6f0071501
Testsuite: activate k_order_perturbation/fs2000k4.mod 2019-02-26 18:59:42 +01:00
Sébastien Villemot c44545bb18
Dynare++: add some comments 2019-02-26 12:43:04 +01:00
Sébastien Villemot 52ec6b4e93
Under Debian, texlive-generic-extra is now required 2019-02-26 12:14:17 +01:00
Sébastien Villemot f2f12b4701 Merge branch 'fix-for-pdf-dynare-manual-path' into 'master'
Fixed path to reference manual (pdf) when building windows package.

See merge request Dynare/dynare!1647
2019-02-25 22:10:45 +00:00
Stéphane Adjemian (Charybdis) c0812754ee
Fixed path to reference manual (pdf) when building windows package. 2019-02-25 22:39:04 +01:00
Sébastien Villemot cbf09080f9
Octave compatibility fix 2019-02-25 17:46:40 +01:00
Sébastien Villemot cda0b3192a
Add missing Python files in tarball 2019-02-25 17:46:40 +01:00
Stéphane Adjemian (Charybdis) 45fbfe4dce
Adapted disp_dr for new auxilary variables.
diffs, lagged diffs and leaded diffs.
2019-02-25 17:18:54 +01:00
Sébastien Villemot d4217c02b0
Provisions for Octave 5 2019-02-25 15:28:24 +01:00
Sébastien Villemot 073f5dd6f7
Fix function header 2019-02-25 15:28:23 +01:00
Sébastien Villemot ae230fcd92
Really remove the old Texinfo manual 2019-02-25 15:28:23 +01:00
Sébastien Villemot 870d75857c
Simplification for missing nanmean
Handle it as other functions from the Statistics toolbox
2019-02-25 15:28:23 +01:00
Stéphane Adjemian (Charybdis) d81545941e
Cosmetic changes. 2019-02-25 14:54:57 +01:00