Commit Graph

23 Commits (237aa465d23fb3113a27cf2d8f9932bd3c2e2e8f)

Author SHA1 Message Date
Sébastien Villemot 47477e152a
Bump minimal Octave version to 6.2.0 2021-03-12 16:21:57 +01:00
Sébastien Villemot 3e98918690
aggregate.m: compatibility fix for MATLAB R2014a
The importdata function returns empty lines on R2014a, while it omits them in
R2020a. Moreover, importdata is not meant to parse arbitrary text file. We thus
replace it by repeated calls to fgetl.
2021-01-29 12:29:39 +01:00
Sébastien Villemot 8f07a134a3
OLS + aggregate: compatibility fix for Octave < 6
unique(…, 'stable') does not exist in Octave 5.
2021-01-15 17:19:38 +01:00
Stéphane Adjemian (Charybdis) e56a681ce2
Removed debugging code. 2020-02-12 09:44:42 +01:00
Stéphane Adjemian (Charybdis) 87e688011e
Fixed bug in setting blockname equation tag.
The blockname tag was overwritten (with the name of the LHS endogenous variable).
2020-02-11 19:09:33 +01:00
Stéphane Adjemian (Charybdis) 6406bf97d4
Fixed Windows vs Linux path separator issue. 2020-02-11 19:08:37 +01:00
Stéphane Adjemian (Odysseus) b00db0e035 Fixed bug (cannot use a reserved keyword as a tag name). 2020-01-29 18:27:29 +01:00
Stéphane Adjemian (Odysseus) e39c3bad5b Fixed aggregate if the equation tag name is not available...
... Or has special characters. In this cases we use the LHS variable
as a name for the equation.
2020-01-29 11:38:20 +01:00
Stéphane Adjemian (Odysseus) bb302279ea Do not add tag for block name if rootfolder is empty. 2020-01-29 09:25:23 +01:00
Stéphane Adjemian (Charybdis) d4e16b7ffe
Ensure that the equation tag name matches the LHS variable. 2020-01-28 16:40:31 +01:00
Stéphane Adjemian (Charybdis) dc1b2442db
Added block name to the tags in aggregated models. 2020-01-28 16:40:03 +01:00
Stéphane Adjemian (Charybdis) 32557ce686
Ensure that equations and endogenous variables are unique. 2020-01-28 16:38:15 +01:00
Stéphane Adjemian (Charybdis) 3a33165e8d Fixed regexpr. Allow parenthesis in expression. 2019-10-02 19:39:27 +02:00
Stéphane Adjemian (Charybdis) 1668d50aaf Pass preprocessor options to aggregate routine. 2019-10-02 10:41:32 +02:00
Stéphane Adjemian (Charybdis) 2201c4e745 Fixed import of tags on exogenous variables. 2019-10-02 10:41:32 +02:00
Stéphane Adjemian (Charybdis) 4f479bfbe8 Allow diff(-diff(X)) or diff(-log(X)) in the LHS. 2019-10-02 10:41:32 +02:00
Stéphane Adjemian (Charybdis) fd2cb24911 Allow log(-X) or diff(-X) on the LHS. 2019-10-02 10:41:32 +02:00
Stéphane Adjemian (Charybdis) 84d4f48ada Fixed typo. 2019-07-19 16:51:50 +02:00
Stéphane Adjemian (Charybdis) 499481e889 Fixed bug.
aggregate was crashing in the absence of tags on the endogenous or exogenous variables.
2019-07-19 16:51:16 +02:00
Stéphane Adjemian (Charybdis) 426cce8199 Remove endogenous variables potentially remaining in the list of exogenous variables. 2019-07-17 17:52:16 +02:00
Stéphane Adjemian (Charybdis) 317e713b26 Do not print parameters or varexo statements if plist or xlist are empty. 2019-05-04 08:52:51 +02:00
Stéphane Adjemian (Charybdis) ede5b5e4c0 Ensure that the variable names are unique. 2019-05-03 16:15:54 +02:00
Stéphane Adjemian (Charybdis) ea68f849d5 Renamed routine. 2019-04-29 23:49:04 +02:00