Skip to content

Commit

Permalink
typo fix: if clause not supposed to end with semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
cbm755 committed Mar 13, 2019
1 parent 9320d24 commit 8abc9a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/private/doctest_collect.m
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
elseif (exist (what) == 3) % .oct/.mex
[~, what, ~] = fileparts (what); % strip extension if present
type = 'function'; % then access like any function
elseif (exist(what, 'file') && ~exist(what, 'dir')) || exist(what, 'builtin');
elseif (exist(what, 'file') && ~exist(what, 'dir')) || exist(what, 'builtin')
if (exist(['@' what], 'dir'))
% special case, e.g., @logical is class, logical is builtin
type = 'class';
Expand Down

0 comments on commit 8abc9a4

Please sign in to comment.