1. 13 May, 2020 1 commit
  2. 06 May, 2020 1 commit
  3. 07 Apr, 2020 1 commit
  4. 20 Mar, 2020 1 commit
  5. 18 Feb, 2020 1 commit
    • Sébastien Villemot's avatar
      k-order MEX: fix crash on Octave when higher-order derivatives have numerical zero · 144bdf34
      Sébastien Villemot authored
      In Octave, when some values given to the sparse() function are numerically
      zero, then the nzmax of the generated sparse matrix is shrinked accordingly;
      while under MATLAB, the nzmax is the length of the vector of values, zeros
      included.
      
      The check at the top of
      DynamicModelMFile::unpackSparseMatrixAndCopyIntoTwoDMatData() would then fail
      under Octave if some higher-derivatives had an element which is symbolically
      non-zero but numerically zero.
      
      We therefore relax the check, and accordingly adapt the code that handles
      numerical zeros.
      
      This bug was uncovered by tests/pruning/AnSchorfheide_pruned_state_space.mod,
      which was failing under Octave.
      144bdf34
  6. 10 Feb, 2020 1 commit
  7. 16 Jan, 2020 1 commit
  8. 10 Jan, 2020 1 commit
    • Sébastien Villemot's avatar
      Remove workaround for errors in MEX files · 7e770f69
      Sébastien Villemot authored
      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
      7e770f69
  9. 09 Jan, 2020 1 commit
  10. 08 Jan, 2020 1 commit
  11. 06 Jan, 2020 4 commits
  12. 20 Dec, 2019 3 commits
  13. 10 Dec, 2019 1 commit
  14. 28 Nov, 2019 1 commit
  15. 27 Nov, 2019 1 commit
    • Sébastien Villemot's avatar
      Bytecode: fix logic in routine that substracts two sparse matrices · 9e222734
      Sébastien Villemot authored
      The logic of the dynSparseMatrix::Sparse_substract_SA_SB() routine was
      incorrect.
      
      In some cases, it would read past the last nonzero elements of the A matrix,
      and consequently write past the number of allocated nonzero elements of the C
      matrix.
      
      This would lead to crashes and, probably, to wrong results under certain
      circumstances.
      
      Closes: #1652
      9e222734
  16. 26 Nov, 2019 1 commit
    • Sébastien Villemot's avatar
      Build system: by default, error out if some dependency is missing · 8065e9d4
      Sébastien Villemot authored
      In particular, if either MATLAB or Octave is missing, one needs to pass either
      --disable-matlab or --disable-octave.
      
      Moreover, several new configure flags have been introduced for disabling some
      components:
      --disable-doc
      --disable-dynare++
      --disable-mex-dynare++
      --disable-mex-ms-sbvar
      --disable-mex-kalman-steady-state
      8065e9d4
  17. 14 Nov, 2019 1 commit
  18. 02 Oct, 2019 1 commit
  19. 24 Sep, 2019 1 commit
  20. 11 Sep, 2019 2 commits
  21. 10 Sep, 2019 1 commit
  22. 04 Sep, 2019 1 commit
  23. 03 Sep, 2019 1 commit
    • Sébastien Villemot's avatar
      Add scripts and CI job for building Windows package · bae1fa25
      Sébastien Villemot authored
      The scripts are based the former “dynare-build” project. They have been
      overhauled and simplified.
      
      Building a Windows package (both installer and zip archive) is as easy as
      running “make -C windows” (provided the right Debian packages are installed,
      use the “windows/install-packages.sh” script for that purpose).
      
      The layout of MEX files for Octave in the package has been
      changed (mex/octave/win32/ and mex/octave/win64/ instead of mex/octave32/ and
      mex/octave/), for consistency with MATLAB MEX.
      bae1fa25
  24. 30 Jul, 2019 1 commit
  25. 09 Jul, 2019 5 commits
  26. 28 Jun, 2019 2 commits
  27. 27 Jun, 2019 3 commits