Skip to content

Commit

Permalink
minor debug of error checker
Browse files Browse the repository at this point in the history
  • Loading branch information
JonKing93 committed Apr 10, 2020
1 parent a41402d commit 706b7af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 4. DA Analyses/@dash/restrictVarsToPSMs.m
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
% (and corresponding reduced metadata).

% Error check
if ~isa('ens', 'ensemble') || ~isscalar(ens)
if ~isa(ens, 'ensemble') || ~isscalar(ens)
error('ens must be a scalar ensemble object.');
elseif ~isstrlist(vars)
error('vars must be a string vector, cellstring vector, or character row vector.');
Expand Down

0 comments on commit 706b7af

Please sign in to comment.