Commit 4f486ef6 authored by Simone Liuzzo's avatar Simone Liuzzo

bug in parsing inputs

parent 62468a3a
......@@ -26,10 +26,10 @@ function [o,erro] = measureorbit(obj,varargin)
p = inputParser;
AddParameter(p,'ignoreinch',false);
AddParameter(p,'algorithm',0);
addParameter(p,'ignoreinch',false);
addParameter(p,'algorithm',0);
parse(p,varargin);
parse(p,varargin{:});
ignoreinchoerency = p.Results.ignoreinch;
algorithm = p.Results.algorithm;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment