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

Change disp to warning.

parent bf3c7e0d
......@@ -26,7 +26,7 @@ classdef ConstraintNode < 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('ConstraintNode: Error with given number of values != num nodes * num doftypes!')
warning('ConstraintNode: Error with given number of values != num nodes * num doftypes!')
end
end
% ----------------------------------------------------------------------
......@@ -39,7 +39,7 @@ classdef ConstraintNode < mafe.Constraint
dof = find( [self.node.dof] == cdof );
% check
if length(dof) ~= length(self.node)
disp('ConstraintNode:getDofSysIndices() --> Node missing requested dof!');
warning('ConstraintNode: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