From 84c7a6d41a5042917f99a669573f8f4aa673ac86 Mon Sep 17 00:00:00 2001
From: Marina Kreme <amamarinak@gmail.com>
Date: Mon, 23 Nov 2020 17:59:31 +0100
Subject: [PATCH] replace true by boolean

---
 matlab/tfgm/subregions/create_subregions.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/matlab/tfgm/subregions/create_subregions.m b/matlab/tfgm/subregions/create_subregions.m
index d945814..2e01f4e 100644
--- a/matlab/tfgm/subregions/create_subregions.m
+++ b/matlab/tfgm/subregions/create_subregions.m
@@ -53,7 +53,7 @@ n_labels_max = n_labels;
 
 while max(pq_norms_val(:))>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
         [i_p, i_q] =  find(pq_norms_val == max(pq_norms_val(:)));
-- 
GitLab