Commit Graph

125 Commits (7dd2dd5e24a343fbeaf3522ea5e535c27d8b9f95)

Author SHA1 Message Date
Sébastien Villemot d95b0cf6d7 K-order DLL, KordpDynare class: removed memory leaks 2010-03-09 18:30:23 +01:00
Sébastien Villemot bb3675e75c K-order DLL, DynamicDLL class: removed memory leaks 2010-03-09 18:30:23 +01:00
Sébastien Villemot 1b3bc4a825 K-order DLL: removed useless stuff 2010-03-09 18:30:23 +01:00
Sébastien Villemot cf8f793c55 k_order_perturbation: give a value to model residuals, otherwise valgrind logs are cluttered with unitialized value errors 2010-02-09 14:32:40 +01:00
Sébastien Villemot 34ab1a5686 k_order_perturbation: fixed illegal cast 2010-02-09 14:24:16 +01:00
sebastien 65fc856710 k_order_perturbation: renamed source files with *.cc and *.hh extensions, for compliance with Dynare coding standards + adapted the build system accordingly
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3260 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-17 11:00:50 +00:00
sebastien f3549b4c64 Beautified MEX source code
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3251 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-16 17:18:38 +00:00
sebastien fb8406ef0a USE_DLL option now works with MSVC + Added new options for Windows to 'dynare' command, to select the compiler: 'cygwin' and 'msvc' + Added the mexopts.bat for Cygwin in the SVN
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3223 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-11 14:46:21 +00:00
sebastien 4bcbd06980 k_order_perturbation: cosmetic change
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3207 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-08 10:01:41 +00:00
george effee9ffab removed more leaks
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3205 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-07 17:03:59 +00:00
george 5c75c9aaee removed more leaks in calcDerivatives
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3204 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-07 12:48:18 +00:00
george 12d7abab24 removed leaks in calcDerivatives
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3203 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-07 12:35:55 +00:00
michel 8198b1a1eb 4.1 k_order_perturbation: correcting bug in releasing _dynamic.DLL (Windows version)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3200 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-06 21:21:06 +00:00
michel 5031122649 4.1 k_order_perturbation: simplifying dynamic_dll code
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3199 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-06 14:10:43 +00:00
michel f22fa8979c 4.1 k_order_perturbation: fixing typos
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3198 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-06 13:21:52 +00:00
george c6ed380a08 Additional #if !defined(__CYGWIN32__) && !defined(_WIN32)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3197 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-06 12:21:38 +00:00
michel e690320b1d 4.1: more defined __CYGWIN32__
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3196 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-06 11:56:11 +00:00
george 684d8ac822 Cleared up DynareMxArrayToString in k_order_perturbation.cpp and changed #ifdef to #if defined() in dynamic_dll.cpp
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3195 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-06 00:03:22 +00:00
sebastien 0dd2bdf39a k_order_perturbation: fix for compilation with MS Visual C++
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3185 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-01 15:18:48 +00:00
sebastien ad71ee53c2 k_order_perturbation: cosmetic changes for the sake of clarity
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3180 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-30 20:31:11 +00:00
sebastien 03600d9131 k_order_perturbation DLL:
* no longer use mexPrintf()/mexErrMsgTxt() outside mexFunction(): use exceptions to report errors, in order to be able to integrate the code in a standalone executable
* fixed a few memory leaks (other still remain)
* fixed a buffer overflow issue in the filename of the dynamic MEX (using C++ string object)
* various cosmetic cleanups


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3177 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-30 16:31:27 +00:00
michel 5f05a14b17 v4.1: fixing k_order_perturbation DLL for order == 3
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3170 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-29 20:50:39 +00: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 11230eec3f Build system: added k_order_perturbation to the build_matlab script
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3106 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-30 17:29:50 +00:00
sebastien 9ab04f3323 Renamed kordepert to k_order_perturbation
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3070 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-23 09:07:47 +00:00