From 2ebe9e7c7d75a0f3df6139a73b2868dd2130a7a7 Mon Sep 17 00:00:00 2001
From: florent <florent@laas.fr>
Date: Sat, 18 Dec 2010 17:35:29 +0100
Subject: [PATCH] Fix a bug in conversion of tuple of tuple python object to
 matrix.

    * src/entity-py.cc.
---
 src/entity-py.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/entity-py.cc b/src/entity-py.cc
index 86255cc..5efb5ad 100644
--- a/src/entity-py.cc
+++ b/src/entity-py.cc
@@ -280,8 +280,8 @@ namespace dynamicgraph {
 	    if (!PyTuple_Check(row)) {
 	      throw ExceptionFactory(ExceptionFactory::GENERIC,
 				     "matrix");
-	      fillMatrixRow(m, iRow, row);
 	    }
+	    fillMatrixRow(m, iRow, row);
 	  }
 	  return Value(m);
 	  break;
-- 
GitLab