Skip to content

Commit 875ee45

Browse files
made a hack in opt_overrideIfDefault.m to make the toolbox run again in Matlab 2018b
1 parent d6bf0e4 commit 875ee45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc/opt_overrideIfDefault.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
misc_checkType(varargin{1}, 'PROPSPEC', 'varargin{1}');
5050
newopt= opt_propspecToStruct(varargin{1});
5151
else
52-
misc_checkType(varargin, 'PROPLIST');
52+
misc_checkType(varargin, 'PROPLIST', 'varargin');
5353
newopt= opt_proplistToStruct(varargin{:});
5454
end
5555
Fld= fieldnames(newopt);

0 commit comments

Comments
 (0)