Commit Graph

19 Commits (7dd2dd5e24a343fbeaf3522ea5e535c27d8b9f95)

Author SHA1 Message Date
Sébastien Villemot 19246d68da
Octave 7 now has rng 2022-04-15 14:33:02 +02:00
Sébastien Villemot 10af04c6d8
Use Unicode copyright symbol (in UTF-8 encoding) in all source files
It is now supported by the MATLAB editor (as of R2022a).

The old ASCII notation is left in some files that we copy as-is from other
sources (e.g. in the contrib/ and m4/ subdirectories).

The particles submodule is not updated at this point, because it is in an
inconsistent state.

[skip ci]
2022-04-13 14:54:25 +02:00
Sébastien Villemot 766fff88f6
Use secure URL for link to GNU licenses 2021-06-09 17:35:05 +02:00
Sébastien Villemot 6e0f104d7e
Bump minimal MATLAB version to R2014a
Ref. #1713
2020-04-07 16:32:32 +02:00
Sébastien Villemot a8e54d791a
Testsuite: set the random seed for unitary tests, for reproducibility 2020-02-04 18:19:35 +01:00
Sébastien Villemot 3ee9ada8d3
Octave compatibility fix: skip unit test for load_m_file_data_legacy.m
The failure is impossible to reproduce outside the runners. Skip the test, for
lack of a better solution.
2020-01-14 14:58:38 +01:00
Houtan Bastani 53ce6222c2
remove unused variable in dynare_config 2019-09-05 11:48:19 +02:00
Sébastien Villemot 1f84bc051d
Under Octave, the "statistics" Forge package is now a requirement
The gamrnd fallback under matlab/missing/stats/ does not work under Octave
because the +gamrnd/ folder is not accessible (it has the same name as the
function, which does not work under Octave).

Instead of fixing this, rather make the statistics toolbox a requirement, since
anyways it is very easy to obtain under Octave.

Accordingly:
- do not try to run the unit tests of matlab/missing/stats/ under Octave
- merge the matlab/missing/stats-matlab/ into matlab/missing/stats/, since this
  directory is now MATLAB-only.

Also:
- move matlab/distributions/+gamrnd/ under matlab/missing/stats/ for
  consistency
- in the manual: remove obsolete link to Octave downloads on the Dynare
  website; update URL of Octave Forge

Closes #1638
2019-02-18 17:41:10 +01:00
Sébastien Villemot ce70e2a9ca
Testsuite: do not add top-level tests/ directory to the MATLAB/Octave path
This directory is cluttered with so many files that it creates problem (e.g.
dynare-command-options/ramst.mod was broken under Octave because of this).

Move files that have to be found through the path in a utils/ subdirectory.
2019-02-15 18:43:20 +01:00
Stéphane Adjemian (Charybdis) a53636e24e Fixed copyright notices. 2017-05-16 14:11:15 +02:00
Stéphane Adjemian (Charybdis) bc6c6fc486 Removed remaining calls or references to cputime. 2017-03-17 22:49:01 +01:00
Houtan Bastani 2499a13e5a test suite: add stats directory for stats tests so that those functions are called instead of the built in octave functions 2016-10-25 18:13:07 +02:00
Houtan Bastani 7dafeb2bc8 test suite: fix bug introduced in f5f71ca838 2016-10-24 12:56:26 +02:00
Houtan Bastani f5f71ca838 test suite: load Octave packages potentially needed when running test suite 2016-10-21 17:40:27 +02:00
Houtan Bastani 4a1ad80747 test suite: add license/copyright info 2016-10-19 15:12:44 +02:00
Houtan Bastani 22a5739eb7 test suite: don't use when running octave test 2016-10-19 15:11:30 +02:00
Houtan Bastani 5c006a4370 test suite: add timing, report 10 slowest tests. #298 2015-09-11 15:21:51 +02:00
Sébastien Villemot bb1353e46b Fix bug introduced in 8b1e76a1bf.
The unitary tests file was renamed, but his output file wasn't.
2013-12-16 10:25:39 +01:00
Stéphane Adjemian (Scylla) 8b1e76a1bf Renamed tests/run_unitary_tests.m script to avoid conflict with matlab/utilities/tests/run_unitary_tests.m function. 2013-12-13 16:21:10 +01:00