Skip to content

Commit

Permalink
#116/#117: remove eqfuzzy.m.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanluct committed Jan 10, 2015
1 parent 11ecc2f commit e94f31b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 35 deletions.
8 changes: 4 additions & 4 deletions +braidlab/@braid/private/cross2gen.m
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@
% angle).
dXtraj = Xtraj1 - Xtraj2;

% Use absolute precision to test equality (same as C++ code).
nearcoinc = find(eqfuzzy(Xtraj1,Xtraj2,delta));
% Use absolute precision to test equality.
nearcoinc = find(abs(dXtraj) < delta);

if ~isempty(nearcoinc)
% Use absolute precision to test equality (same as C++ code).
if any(eqfuzzy(Ytraj1(nearcoinc),Ytraj2(nearcoinc),delta))
% Use absolute precision to test equality.
if any(abs(Ytraj1(nearcoinc)-Ytraj2(nearcoinc)) < delta)
error('BRAIDLAB:braid:colorbraiding:coincidentparticles', ...
mat2str([I J]) )
else
Expand Down
31 changes: 0 additions & 31 deletions +braidlab/@braid/private/eqfuzzy.m

This file was deleted.

0 comments on commit e94f31b

Please sign in to comment.