Commit 6701047f authored by Mahmoud Mahmoud's avatar Mahmoud Mahmoud

Update SymbolicSet.m

parent 40827959
......@@ -57,13 +57,13 @@ classdef SymbolicSet < handle
project=obj.project-1;
points=mexSymbolicSet(obj.filename,'gridpoints',project);
obj.points=points;
if(points==0)
if(isempty(points))
error(['there are not points in the Symbolic Set ',obj.filename]);
end
else
points=mexSymbolicSet(obj.filename,'gridpoints');
obj.points=points;
if(points==0)
if(isempty(points))
error(['there are not points in the Symbolic Set ',obj.filename]);
end
end
......
Markdown is supported
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