Quick fix for failing test

parent 26588f76
......@@ -8,12 +8,12 @@ component Similarity<N1 n>{
implementation Math{
//calculate similarity matrix
for i=1:size(data,1)
/*for i=1:size(data,1)
for j=1:size(data,1)
Q dist = sqrt((data(i,1) - data(j,1))^2 + (data(i,2) - data(j,2))^2 + (data(i,3) - data(j,3))^2);
similarity(i,j) = exp((0-dist)/(2*1^2));//sigma is replaced by one
end
end
end*/
//calculate degree matrix
for k=1:size(similarity,1)
......
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