From 0fe62d984a0ca95c0ae5aeb439dc562db0d1f986 Mon Sep 17 00:00:00 2001
From: Justin Carpentier <justin.carpentier@inria.fr>
Date: Tue, 18 Aug 2020 11:49:22 +0200
Subject: [PATCH] core: add missing return

---
 include/eigenpy/eigen-allocator.hpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/eigenpy/eigen-allocator.hpp b/include/eigenpy/eigen-allocator.hpp
index 49fbaddc..9bbd2779 100644
--- a/include/eigenpy/eigen-allocator.hpp
+++ b/include/eigenpy/eigen-allocator.hpp
@@ -166,6 +166,7 @@ namespace eigenpy
       {
         MapType map_pyArray = NumpyMap<MatType,Scalar>::map(pyArray);
         map_pyArray = mat;
+        return;
       }
       
       switch(pyArray_type_code)
-- 
GitLab