Commit Graph

25 Commits (1052046954b71d7d70b2378e70bc7296d9661f03)

Author SHA1 Message Date
Sébastien Villemot cbcd0a6950
Port to C++11 default members initializers
Performed using modernize-use-default-member-init from clang-tidy.

https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-default-member-init.html
2019-01-09 15:58:45 +01:00
Sébastien Villemot 966a1c2ac0
Port to C++11 auto keyword
Performed using modernize-use-auto from clang-tidy.

https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-auto.html
2019-01-09 15:51:19 +01:00
Sébastien Villemot 7e003cc591
Port some constructors to pass-by-value using C++11 move semantics
Performed using modernize-pass-by-value from clang-tidy.

https://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html
2019-01-09 15:46:04 +01:00
Sébastien Villemot 2024330568
Port to C++11 range-based for loops
Performed using modernize-loop-convert from clang-tidy.

https://clang.llvm.org/extra/clang-tidy/checks/modernize-loop-convert.html
2019-01-09 15:44:26 +01:00
Sébastien Villemot 8b56ab6f11
Use C++11 erf/erfc instead of custom one 2019-01-08 17:49:15 +01:00
Sébastien Villemot ba609cce07
No need to redefine PI constant for MinGW 2019-01-08 17:46:36 +01:00
Sébastien Villemot f9df2bee2f
Use C++11 unordered_{map,set} instead of boost's 2019-01-08 17:38:21 +01:00
Sébastien Villemot 188d6296d7
Dynare++: finish to apply Dynare C++ coding style and extensions (.cc/.hh) 2019-01-08 17:12:05 +01:00
Stéphane Adjemian (Charybdis) b4448937cc Fixed indentation of c/h/cc/hh files. 2017-05-16 16:30:27 +02:00
Stéphane Adjemian (Charybdis) 1229372a6c Defines M_PI (cross compilation for Octave). 2016-12-01 13:32:54 +01:00
Stéphane Adjemian (Sedna) 82bd6bcdf3 Fixed c++ warnings. 2015-03-25 14:54:32 +01:00
Stéphane Adjemian (Sedna) a97973d01f Added method for recognizing unreferenced atoms. Call to this method replace catching the exception used before to recognize that an atom is not referenced. 2015-03-25 14:52:28 +01:00
Michel Juillard 404f29e47e dynare++ adding missing header 2013-10-10 10:04:14 +02:00
Sébastien Villemot 77dd7239b5 Dynare++: prevent repeated assignment of a parameter/variable
This is not correctly handled by the evaluator.

Closes #415
2013-08-27 15:17:07 +02:00
Michel Juillard 0c40ba0420 making dynare++ code compatible with Bison 2.7. Fixes #461 2013-08-07 15:23:22 +02:00
Ondra Kamenik 7076fe31e9 When applying substitutions to the atom assignings, they are done also for non-referenced atoms, as they could still be referenced in evaluations. 2011-05-17 10:42:57 +02:00
Sébastien Villemot bc8b8e9c84 Build system: Dynare++ now depend on Boost 2011-01-15 11:33:01 +01:00
Sébastien Villemot bf13ddcb74 Dynare++: replace obsolete hash_set and hash_map by unordered_set and unordered_map
- use the implementation from boost
- since these classes will probably be included in the next C++ standard, they are also available natively from g++ with option -std=c++0x, but boost is probably better for the moment
2011-01-14 16:40:59 +01:00
Sébastien Villemot 1ca828c134 Dynare++: fixed warning about unused functions 2011-01-14 16:29:11 +01:00
Sébastien Villemot ab87ccac06 Dynare++: fixed warning about conversion of string to char* and about non void functions returning nothing 2011-01-14 16:28:26 +01:00
Sébastien Villemot 3b4be852d5 Dynare++: added header include needed for some versions of GCC 2010-09-07 13:36:13 +02:00
sebastien 295f998503 Dynare++ and k_order_perturbation DLL:
* support Microsoft Visual C++ 2008 compiler (necessary for 64-bit 
platforms)
* use standard C++ headers for C Standard Library support


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3121 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-03 14:16:18 +00:00
sebastien 31ed196c44 Various minor changes for compatibility with MS Visual C++ and GCC 4.4
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3105 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-30 16:29:16 +00:00
sebastien 345a3e587a New build system for standalone dynare++
Note that dynare++ will only be built if configure finds ctangle, blas, lapack and pthreads


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2922 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-11 17:34:15 +00:00
sebastien b92b48c58e Putting dynare++ under main dynare SVN repository
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2905 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-08 13:55:19 +00:00