Skip to content
Snippets Groups Projects
Commit edab8ead authored by Timo Ravensbergen's avatar Timo Ravensbergen
Browse files

bugfix in component class: forgot to correct an assert

parent c503a0ca
Branches
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ classdef (Abstract) SCDDSclass_component
% add an algorithm object
assert(nargout==1,'must assign output for addalgo method')
assert(isa(algo,'SCDDSclass_algo_core'),'algo is a %s and not an SCDDSclass_algo_core',class(algo));
assert(isa(algo,'SCDDSclass_algo'),'algo is a %s and not an SCDDSclass_algo',class(algo));
assert(algo.gettiming.dt == obj.timing.dt,...
'Algorithm %s sample time: %f does not match %s sample time: %f',...
algo.getname,algo.gettiming.dt,obj.name,obj.timing.dt)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment