From 694bba66ab4f481f2313e24cad6eb3bb3ac53968 Mon Sep 17 00:00:00 2001 From: Dmitri Naumov <github@naumov.de> Date: Sun, 24 Feb 2019 16:12:57 +0100 Subject: [PATCH] [MatL] Reuse base class member. --- MaterialLib/SolidModels/CreepBGRa.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MaterialLib/SolidModels/CreepBGRa.h b/MaterialLib/SolidModels/CreepBGRa.h index affcbd6091f..31b8d912615 100644 --- a/MaterialLib/SolidModels/CreepBGRa.h +++ b/MaterialLib/SolidModels/CreepBGRa.h @@ -40,8 +40,7 @@ template <int DisplacementDim> class CreepBGRa final : public LinearElasticIsotropic<DisplacementDim> { public: - static int const KelvinVectorSize = - MathLib::KelvinVector::KelvinVectorDimensions<DisplacementDim>::value; + using LinearElasticIsotropic<DisplacementDim>::KelvinVectorSize; using ResidualVectorType = Eigen::Matrix<double, KelvinVectorSize, 1>; using JacobianMatrix = Eigen::Matrix<double, KelvinVectorSize, KelvinVectorSize, Eigen::RowMajor>; -- GitLab