Skip to content
Snippets Groups Projects
Commit 84c7a6d4 authored by Marina Kreme's avatar Marina Kreme
Browse files

replace true by boolean

parent 5df850f7
No related branches found
No related tags found
No related merge requests found
Pipeline #5967 passed
...@@ -53,7 +53,7 @@ n_labels_max = n_labels; ...@@ -53,7 +53,7 @@ n_labels_max = n_labels;
while max(pq_norms_val(:))>tol while max(pq_norms_val(:))>tol
%Merge each pair (p, q), q < p, such that pq_norms[p, q] > tol %Merge each pair (p, q), q < p, such that pq_norms[p, q] > tol
to_be_updated = true(zeros(n_labels,1)); to_be_updated = boolean(zeros(n_labels,1));
while max(pq_norms_val(:))>tol while max(pq_norms_val(:))>tol
[i_p, i_q] = find(pq_norms_val == max(pq_norms_val(:))); [i_p, i_q] = find(pq_norms_val == max(pq_norms_val(:)));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment