Commit bf3c7e0d authored by Andreas Zilian's avatar Andreas Zilian
Browse files

Change disp to warning.

parent 7a66c87b
......@@ -30,7 +30,7 @@ classdef ConstraintEdge < mafe.Constraint
obj.cval = [ cval(1) * ones(1,length(obj.node)), cval(2) * ones(1,length(obj.node)) ];
end
if length(obj.cval) ~= length(obj.node)*length(obj.cdof)
disp('ConstraintEdge: Error with given number of values != num nodes * num doftypes!')
warning('ConstraintEdge: Error with given number of values != num nodes * num doftypes!')
end
end
% ----------------------------------------------------------------------
......@@ -43,7 +43,7 @@ classdef ConstraintEdge < mafe.Constraint
dof = find( [self.node.dof] == cdof );
% check
if length(dof) ~= length(self.node)
disp('ConstraintEdge:getDofSysIndices() --> Node missing requested dof!');
warning('ConstraintEdge:getDofSysIndices() --> Node missing requested dof!');
end
% get global dof indices
ndi = [ self.node.idx ];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment