Commit Graph

13 Commits (43b24facb98cdddc3db1e81bbca349b25f8b20af)

Author SHA1 Message Date
Sébastien Villemot ed332e3ba1
MEX files: reformat C++ source code using clang-format 15 2023-11-29 19:00:51 +01:00
Sébastien Villemot d5472d2338
Tighten input sanity checks of various MEX files
Note that the unitary test in lyapunov_solver.m that checks sparse matrix input
had to be removed. Previously, this test was passing by chance (because the
sparse test matrices had actually no zero element, hence the internal double
float storage was the same as in the dense case). Now it consistently fails
with the additional checks in disclyap_fast MEX.
2022-03-18 22:49:46 +01:00
Sébastien Villemot 766fff88f6
Use secure URL for link to GNU licenses 2021-06-09 17:35:05 +02:00
Sébastien Villemot 7e770f69e7
Remove workaround for errors in MEX files
Because at some point throwing exceptions from MEX files (with mexErrMsgTxt())
was not working under Windows 64-bit, we had designed a workaround to avoid
using exceptions.

Most MEX files were returning an error code as their first (or sometimes last)
argument, and that code would have to be checked from the MATLAB code.

Since this workaround is no longer needed, this commit removes it. As a
consequence, the interface of many MEX files is modified.

For some background, see https://www.dynare.org/pipermail/dev/2010-September/000895.html
2020-01-10 18:33:11 +01:00
Sébastien Villemot 57848930c6
Use Unicode copyright symbol (in UTF-8 encoding)
Do not use it in MATLAB source files, since unfortunately the MATLAB editor
does not support UTF-8.
2019-04-16 11:42:16 +02:00
Sébastien Villemot 2169341639
Move source code of gensylv and dynare_simul_ MEX to the same place as other MEX 2019-04-15 17:34:01 +02:00
sebastien b2ca17bd35 Removed obsolete gensylv source tree
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3007 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-01 14:17:27 +00:00
michel a1ad1ed033 4.1: fixing problems in gensylv for Matlab 7.8 64 bit
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2599 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-18 09:01:55 +00:00
sebastien c633f68b12 v4 mex/sources: added copyright+license header to all remaining files
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1973 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-31 09:10:29 +00:00
sebastien d3e739d9be v4 mex: fixed compilation for Octave/Windows/MSVC2008
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1904 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-06-27 23:22:52 +00:00
michel d8170e4054 updating build.m and gensylv for Linux
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1838 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-05-22 08:56:52 +00:00
michel 2058786de8 v4 mex: add definition of mwIndex and mwSize when necessary
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1772 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-04-02 12:54:04 +00:00
michel 80eb1faab2 moving mex directory
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1690 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-04 21:31:12 +00:00