Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
Fixed bug in randomizedEdges
  • Loading branch information
asizemore committed Apr 12, 2018
1 parent ce9ef22 commit 7912ab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion randomizedEdges.m
Expand Up @@ -33,7 +33,7 @@

r = rand;
if r < 0.5
if edge(1) ~= edge2(2) && edge2(1) ~= edge1(2)
if edge1(1) ~= edge2(2) && edge2(1) ~= edge1(2)
rand_contactSequence(ed,1:2) = [edge1(1) edge2(2)];
rand_contactSequence(ed2,1:2) = [edge2(1) edge1(2)];
end
Expand Down

0 comments on commit 7912ab9

Please sign in to comment.