Skip to content
Snippets Groups Projects
Verified Commit a0bafbcb authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Remove duplicate case value

Detected by MATLAB Code Analyzer app.
parent 2005f292
No related branches found
No related tags found
No related merge requests found
...@@ -242,7 +242,7 @@ License: BSD-2-clause ...@@ -242,7 +242,7 @@ License: BSD-2-clause
Files: matlab/utilities/graphics/colorspace.m Files: matlab/utilities/graphics/colorspace.m
Copyright: 2005-2010 Pascal Getreuer Copyright: 2005-2010 Pascal Getreuer
2017 Dynare Team 2017-2023 Dynare Team
License: BSD-2-clause License: BSD-2-clause
Files: examples/fs2000_data.m Files: examples/fs2000_data.m
......
...@@ -82,7 +82,7 @@ function varargout = colorspace(Conversion,varargin) ...@@ -82,7 +82,7 @@ function varargout = colorspace(Conversion,varargin)
% ("short"). % ("short").
% Copyright © 2005-2010 Pascal Getreuer % 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 % Redistribution and use in source and binary forms, with or without
% modification, are permitted provided that the following conditions are % modification, are permitted provided that the following conditions are
...@@ -203,7 +203,7 @@ switch Space ...@@ -203,7 +203,7 @@ switch Space
Space = 'hsv'; Space = 'hsv';
case {'hsl','hsi','hls'} case {'hsl','hsi','hls'}
Space = 'hsl'; Space = 'hsl';
case {'rgb','yuv','yiq','ydbdr','ycbcr','jpegycbcr','xyz','lab','luv','lch'} case {'rgb','yuv','yiq','ydbdr','jpegycbcr','xyz','lab','luv','lch'}
return return
end end
return return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment