You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if length(varargin) ==2&& isa(varargin{1},'numeric') && isa(varargin{2},'numeric')
functions_wrapper(8, varargin{:});
else
error('Arguments do not match any overload of function DefaultFuncInt');
end
This should be something more like
functionvarargout= DefaultFuncInt(varargin)
if length(varargin) ==2&& isa(varargin{1},'numeric') && isa(varargin{2},'numeric')
functions_wrapper(8, varargin{:});
elseif length(varargin) ==1&& isa(...)
...
elseif length(varargin) ==0
...
else
error('Arguments do not match any overload of function DefaultFuncInt');
end
The text was updated successfully, but these errors were encountered:
This is the "correct fix" for borglab/gtsam#954. Needed by @mattking-smith
Notice, for example, that in the unit tests, the default argument tests are actually not correct. For example,
wrap/tests/expected/matlab/DefaultFuncInt.m
Lines 1 to 6 in 2489718
This should be something more like
The text was updated successfully, but these errors were encountered: