Commit Graph

11 Commits (master)

Author SHA1 Message Date
Sébastien Villemot 5d3b4801a3
Octave 7 compatibility fix: increase test tolerance 2022-04-15 14:33:02 +02:00
Johannes Pfeifer 440a0e460b
Storage of results: use subfolder
Ref. #1758
2021-07-23 14:12:17 +02:00
Sébastien Villemot 51278b2f90
Testsuite / External functions: also test coefficients of 2nd order policy function 2020-07-10 18:25:23 +02:00
Sébastien Villemot acdca03e43
Testsuite / External functions: add file missing in previous commit 2020-07-09 18:42:17 +02:00
Sébastien Villemot 5b88113668
Testsuite / External functions: add check for numerical results 2020-07-09 18:40:36 +02:00
Sébastien Villemot d0fb9ce5b8
Preprocessor update
— Bug fix: allow external functions in model local variables (also add corresponding
  integration test)
— JSON output:
  + do not append two underscores after model local variable names in their
    definition
  + when writing the model after computing pass, use TEF terms for (not
    derived) external functions
  + write model local variables in parsed model (modfile.json) (Closes: #1723)
— In the driver file, provide mapping between model local variables and indices
  in the temporary terms vector (Closes: #1722)
2020-06-05 17:16:11 +02:00
Houtan Bastani 4a1b5eccb2
Support MATLAB namespaces in function calls #1639
shorten test names because adding `_namespace` made some .mod file names too long
2019-10-09 16:22:32 +02:00
Sébastien Villemot 9e332ef305 Forbid MOD file names that are too long.
And rename filenames in the testsuite that are too long.

Closes #626
2014-02-28 18:25:02 +01:00
Houtan Bastani 078574ee4a external_function: add support for use_dll 2010-10-07 18:05:07 +02:00
Houtan Bastani 7b779d4351 Updated file to work with requirement that external functions always be declared before being used in the model block 2010-09-24 18:23:42 +02:00
Houtan Bastani 0b1888bc84 Simple tests showing how to use external functions. 2010-02-23 18:16:52 +01:00