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
Branches
Tags
No related merge requests found
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment