Skip to content
Snippets Groups Projects
Commit 800de3fc authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed bug (varobs is a field of options_).

parent a0907b2e
Branches
Tags
No related merge requests found
......@@ -70,7 +70,7 @@ end
% Check that a variable is not declared as observed more than once.
if ~isequal(options_.varobs,unique(options_.varobs))
for i = 1:options_.number_of_observed_variables
if length(strmatch(options_.varobs{i},varobs))>1
if length(strmatch(options_.varobs{i},options_.varobs))>1
error(['A variable cannot be declared as observed more than once (' options_.varobs{i} ')!'])
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment