Skip to content

Commit

Permalink
Fixed sorting bug in ensemble.useVariables
Browse files Browse the repository at this point in the history
  • Loading branch information
JonKing93 committed Jul 4, 2021
1 parent 78f925a commit 1bb326d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion @ensemble/useVariables.m
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
else
obj.stateVector.checkVariables(varNames);
varNames = string(varNames);
varNames = unique(varNames(:));
varNames = unique(varNames(:), 'stable');
end
obj.variables = varNames;

Expand Down

0 comments on commit 1bb326d

Please sign in to comment.