Remove duplicate case value

Detected by MATLAB Code Analyzer app.
covariance-quadratic-approximation
Sébastien Villemot 2023-12-15 15:00:28 +01:00
parent 2005f292e5
commit a0bafbcb95
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
2 changed files with 3 additions and 3 deletions

View File

@ -242,7 +242,7 @@ License: BSD-2-clause
Files: matlab/utilities/graphics/colorspace.m
Copyright: 2005-2010 Pascal Getreuer
2017 Dynare Team
2017-2023 Dynare Team
License: BSD-2-clause
Files: examples/fs2000_data.m

View File

@ -82,7 +82,7 @@ function varargout = colorspace(Conversion,varargin)
% ("short").
% Copyright © 2005-2010 Pascal Getreuer
% Copyright © 2017 Dynare Team
% Copyright © 2017-2023 Dynare Team
%
% Redistribution and use in source and binary forms, with or without
% modification, are permitted provided that the following conditions are
@ -203,7 +203,7 @@ switch Space
Space = 'hsv';
case {'hsl','hsi','hls'}
Space = 'hsl';
case {'rgb','yuv','yiq','ydbdr','ycbcr','jpegycbcr','xyz','lab','luv','lch'}
case {'rgb','yuv','yiq','ydbdr','jpegycbcr','xyz','lab','luv','lch'}
return
end
return