From b1936256ff91bd3b42a012b72716671fb040c93c Mon Sep 17 00:00:00 2001 From: Norihiro Watanabe <norihiro.watanabe@ufz.de> Date: Tue, 18 Oct 2016 10:34:45 +0200 Subject: [PATCH] constexpr is not supported in the MSVC --- .../SmallDeformationLocalAssemblerMatrixNearFracture-impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProcessLib/SmallDeformationWithLIE/LocalAssembler/SmallDeformationLocalAssemblerMatrixNearFracture-impl.h b/ProcessLib/SmallDeformationWithLIE/LocalAssembler/SmallDeformationLocalAssemblerMatrixNearFracture-impl.h index a70983680d8..10cf20e9778 100644 --- a/ProcessLib/SmallDeformationWithLIE/LocalAssembler/SmallDeformationLocalAssemblerMatrixNearFracture-impl.h +++ b/ProcessLib/SmallDeformationWithLIE/LocalAssembler/SmallDeformationLocalAssemblerMatrixNearFracture-impl.h @@ -118,7 +118,7 @@ assembleWithJacobian( { assert (_element.getDimension() == DisplacementDim); - auto constexpr N_DOF_PER_VAR = ShapeFunction::NPOINTS * DisplacementDim; + auto const N_DOF_PER_VAR = ShapeFunction::NPOINTS * DisplacementDim; auto const n_fractures = _fracture_props.size(); using BlockVectorType = typename Eigen::VectorXd::FixedSegmentReturnType<N_DOF_PER_VAR>::Type; -- GitLab