Skip to content

Commit

Permalink
changed tol to 1e-07
Browse files Browse the repository at this point in the history
  • Loading branch information
hyongju committed Nov 21, 2016
1 parent 2b4526c commit bd97fe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo.m
Expand Up @@ -6,7 +6,7 @@
n = 200; % number of points
m = 20; % number of boundary point-candidates
d = 3; % dimension of the space
tol = 0.001; % tolerance value used in "inhull.m" (larger value high precision, possible numerical error)
tol = 1e-07; % tolerance value used in "inhull.m" (larger value high precision, possible numerical error)
pos0 = rand(n,d); % generate random points
bnd0 = rand(m,d); % generate boundary point-candidates
K = convhull(bnd0);
Expand Down

0 comments on commit bd97fe2

Please sign in to comment.