- 28 Nov, 2018 1 commit
-
-
Sébastien Villemot authored
Those const data members are simply made public.
-
- 05 Nov, 2018 2 commits
-
-
Sébastien Villemot authored
Now both x+(-y) and (-x)+y are simplified using a minus operator. Also simplify some code using std::swap().
-
Sébastien Villemot authored
Incidentally, this fixes an issue in DataTree::operator=(), where this would cause to the copy to have a different number of nodes than the original.
-
- 26 Oct, 2018 1 commit
-
-
Sébastien Villemot authored
New options "mexext" and "matlabroot" are introduced, so that the preprocessor knows where to find MATLAB and which architecture to compile for. Only recent gcc is now supported. A set of optimization flags is used so that compilation goes reasonably fast on large models. Consequently, options "msvc", "mingw" and "cygwin" have been removed.
-
- 11 Oct, 2018 1 commit
-
-
Sébastien Villemot authored
-
- 10 Oct, 2018 3 commits
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
Introducing a new DataTree::getVariable() const method was necessary in the process.
-
Sébastien Villemot authored
In particular, it is necessary to turn back DataTree::AddVariable() into a non-virtual method, because it is called from DataTree's constructor. Enforcing the absence of leads/lags is now done using a new boolean DataTree::is_static. Take advantage of the new copy constructor for handling PlannerObjectiveStatement more elegantly. Unfortunately it is not possible to implement *move* constructor / assigment operators, because the reference ExprNode::datatree is not mutable.
-
- 04 Oct, 2018 1 commit
-
-
Sébastien Villemot authored
The syntax makes clearer the distinction between a function call and an initialization. Also, it prevents bugs due to implicit type conversions.
-
- 02 Oct, 2018 1 commit
-
-
Sébastien Villemot authored
Closes: Dynare/dynare#1315
-
- 14 Sep, 2018 1 commit
-
-
Houtan Bastani authored
-
- 05 Sep, 2018 1 commit
-
-
Sébastien Villemot authored
- BTW, store them in a std::vector rather than std::list - incidentally, fix issue in VariableNode::removeTrendLeadLag where expression sharing was possibly violated when creating a new VariableNode
-
- 22 Aug, 2018 1 commit
-
-
Houtan Bastani authored
-
- 17 Aug, 2018 1 commit
-
-
Houtan Bastani authored
-
- 02 Aug, 2018 1 commit
-
-
Sébastien Villemot authored
Given a previously declared var_model, the var_expectation_model statement is used to declare a way of forming expectations with this VAR (possibly using a finite or infinite discounted sum). The var_expectation operator now takes a single argument, the name of the var_expectation_model. For the moment, this only works when the var_model is using equations explicitly declared in the model block.
-
- 18 Jul, 2018 1 commit
-
-
Sébastien Villemot authored
-
- 17 Jul, 2018 2 commits
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
- 27 Jun, 2018 1 commit
-
-
Sébastien Villemot authored
- M and MEX files are now under +${MODELNAME}/ - bytecode and C source now under ${MODELNAME}/model/
-
- 04 Jun, 2018 6 commits
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
Performed using modernize-use-nullptr from clang-tidy. https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
-
Sébastien Villemot authored
Performed using modernize-use-noexcept from clang-tidy. https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-noexcept.html
-
Sébastien Villemot authored
Performed using modernize-use-auto from clang-tidy. https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-auto.html
-
Sébastien Villemot authored
Performed using modernize-loop-convert from clang-tidy. Manual intervention was needed in MacroValue.cc because of a variable name capture issue. https://clang.llvm.org/extra/clang-tidy/checks/modernize-loop-convert.html
-
- 04 Apr, 2018 1 commit
-
-
Houtan Bastani authored
-
- 28 Feb, 2018 1 commit
-
-
Houtan Bastani authored
-
- 15 Feb, 2018 1 commit
-
-
Houtan Bastani authored
-
- 08 Feb, 2018 1 commit
-
-
Houtan Bastani authored
-
- 07 Feb, 2018 2 commits
-
-
Houtan Bastani authored
-
Houtan Bastani authored
-
- 06 Feb, 2018 1 commit
-
-
Houtan Bastani authored
-
- 28 Aug, 2017 1 commit
-
-
Houtan Bastani authored
preprocessor: add model_local_variable declaration for declaring model local variables with tex names. Closes #563
-
- 03 Jul, 2017 2 commits
-
-
Houtan Bastani authored
-
Houtan Bastani authored
-
- 23 Jun, 2017 1 commit
-
-
Houtan Bastani authored
-
- 14 Jun, 2017 1 commit
-
-
Houtan Bastani authored
-
- 22 Mar, 2017 3 commits
-
-
var_forecast: create separate VarExpectationNode class to better handle calls to .m function that calculates var forecasts
-
-
-