expand implicit list in cell, like c={1:3} -> c={[1 2 3]} 53/4753/2
Antoine ELIAS [Thu, 25 Aug 2011 15:13:36 +0000 (17:13 +0200)]
Change-Id: Ieb426ad07795b0eebca66af80a3c46d79514b6fc

scilab/modules/ast/includes/runvisitor.hxx

index 7383572..aeba59b 100644 (file)
@@ -277,7 +277,13 @@ namespace ast
                 {
                     T execMe;
                     (*col)->accept(execMe);
-                    pC->set(i,j, execMe.result_get());
+                    InternalType *pIT = execMe.result_get();
+                    if(pIT->isImplicitList())
+                    {
+                        pIT = pIT->getAsImplicitList()->extractFullMatrix();
+                    }
+
+                    pC->set(i,j, pIT);
                 }
             }