From 9b6e365018c0a20e5ed1b504dc1f945cce09ec5f Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 21 Feb 2017 16:52:22 +0100 Subject: [PATCH] Fix linking issue. --- Eigen/src/Core/util/ReshapedHelper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/src/Core/util/ReshapedHelper.h b/Eigen/src/Core/util/ReshapedHelper.h index b5d59cfe8..7b7435205 100644 --- a/Eigen/src/Core/util/ReshapedHelper.h +++ b/Eigen/src/Core/util/ReshapedHelper.h @@ -34,7 +34,7 @@ struct get_compiletime_reshape_size { value = (TotalSize==Dynamic || other_size==Dynamic) ? Dynamic : TotalSize / other_size }; }; -Index get_runtime_reshape_size(AutoSize_t /*size*/, Index other, Index total) { +inline Index get_runtime_reshape_size(AutoSize_t /*size*/, Index other, Index total) { return total/other; }