Skip to content
Snippets Groups Projects
Commit 5958e244 authored by Ngoc Minh Trang Vu's avatar Ngoc Minh Trang Vu Committed by Federico Felici
Browse files

minor changes

parent 504ecec2
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,7 @@ classdef SCDsignal ...@@ -22,7 +22,7 @@ classdef SCDsignal
function type = datatype(obj) function type = datatype(obj)
type = class(obj.Value); type = class(obj.Value);
assert(ismember(type,{'single', 'boolean', 'int8','int16','int32'}),... assert(ismember(type,{'single', 'logical', 'int8','int16','int32'}),...
sprintf('DataType %s is not supported in SCDalgo', type)) sprintf('DataType %s is not supported in SCDalgo', type))
end end
......
classdef SCDsignal_test < matlab.unittest.TestCase classdef SCDsignal_test < matlab.unittest.TestCase
properties (MethodSetupParameter) properties (MethodSetupParameter)
type = {'int8','single','int32','single'}; type = {'logical','single','int32','single'};
m = {1, 100, 3, 3 }; m = {1, 100, 3, 3 };
n = {1, 1, 3, 10 }; n = {1, 1, 3, 10 };
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment