Skip to content

Commit

Permalink
Handle vector case properly
Browse files Browse the repository at this point in the history
  • Loading branch information
petercorke committed Apr 16, 2017
1 parent fdd8441 commit 409355f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lambda2xy.m
Expand Up @@ -35,8 +35,8 @@

xy = tristim2cc(cmf);
if nargout == 2
x = xy(1);
y = xy(2);
x = xy(:,1);
y = xy(:,2);
else
x = xy;
end
Expand Down

0 comments on commit 409355f

Please sign in to comment.