use vobs() instead of length(ds.name)
parent
f514d443b6
commit
9d413e2f8f
|
@ -112,8 +112,8 @@ while ~isempty(plus_node) || ~isempty(last_node_to_parse)
|
||||||
elseif strcmp(node_to_parse.node_type, 'BinaryOpNode') && strcmp(node_to_parse.op, '*')
|
elseif strcmp(node_to_parse.node_type, 'BinaryOpNode') && strcmp(node_to_parse.op, '*')
|
||||||
% Parse param_expr * endog_expr
|
% Parse param_expr * endog_expr
|
||||||
Xtmp = parseTimesNode(ds, node_to_parse, line);
|
Xtmp = parseTimesNode(ds, node_to_parse, line);
|
||||||
if length(Xtmp.name) > 1 || ...
|
if Xtmp.vobs > 1 || ...
|
||||||
(length(Xtmp.name) == 1 && ~isnan(str2double(Xtmp.name)))
|
(Xtmp.vobs == 1 && ~isnan(str2double(Xtmp.name)))
|
||||||
% Handle constraits
|
% Handle constraits
|
||||||
% Look through Xtmp names for constant
|
% Look through Xtmp names for constant
|
||||||
% if found, subtract from LHS
|
% if found, subtract from LHS
|
||||||
|
|
Loading…
Reference in New Issue