From 671e9f79ba67968efb736a4d329b5fb3c41c5f6f Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jon.w.wilkes@gmail.com>
Date: Thu, 30 Nov 2017 18:22:27 -0500
Subject: [PATCH] remove erroneous check for self-referencing ds-arrays

---
 pd/src/g_template.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/pd/src/g_template.c b/pd/src/g_template.c
index 028e834f2..64629cbbd 100644
--- a/pd/src/g_template.c
+++ b/pd/src/g_template.c
@@ -363,12 +363,6 @@ static t_scalar *template_conformscalar(t_template *tfrom, t_template *tto,
         }
         else if (ds->ds_type == DT_ARRAY)
         {
-            t_symbol *arraytemplate = ds->ds_fieldtemplate;
-            if (arraytemplate == tfrom->t_sym ||
-                arraytemplate == tto->t_sym)
-            {
-                return 0;
-            }
             template_conformarray(tfrom, tto, conformaction, 
                 x->sc_vec[i].w_array);
         }
-- 
GitLab