From 2d74fdd82ff0d68403a5f9e037631f255f81c1b1 Mon Sep 17 00:00:00 2001 From: "Dmitry Yu. Naumov" <github@naumov.de> Date: Thu, 16 Jul 2015 02:01:48 +0000 Subject: [PATCH] [MaL] Reduce padding in EigenOptions. --- MathLib/LinAlg/Eigen/EigenOption.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MathLib/LinAlg/Eigen/EigenOption.h b/MathLib/LinAlg/Eigen/EigenOption.h index 720afeee7ef..814e3d5f56e 100644 --- a/MathLib/LinAlg/Eigen/EigenOption.h +++ b/MathLib/LinAlg/Eigen/EigenOption.h @@ -19,7 +19,7 @@ namespace MathLib struct EigenOption final { /// Solver type - enum class SolverType : int + enum class SolverType : short { INVALID, CG, @@ -28,7 +28,7 @@ struct EigenOption final }; /// Preconditioner type - enum class PreconType : int + enum class PreconType : short { NONE, DIAGONAL -- GitLab