diff options
author | Gael Guennebaud <g.gael@free.fr> | 2017-02-21 16:52:22 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2017-02-21 16:52:22 +0100 |
commit | 9b6e365018c0a20e5ed1b504dc1f945cce09ec5f (patch) | |
tree | 6f789f6ac64b3f293576bda7288b6089910b95eb /Eigen/src/Core/util/ReshapedHelper.h | |
parent | 3d200257d73d99a1f37b1cb23ce52b80264ba0d9 (diff) |
Fix linking issue.
Diffstat (limited to 'Eigen/src/Core/util/ReshapedHelper.h')
-rw-r--r-- | Eigen/src/Core/util/ReshapedHelper.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<AutoSize_t,OtherSize,TotalSize> { 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; } |