From 9f5de393fe077576441d810589801874421f1081 Mon Sep 17 00:00:00 2001 From: Oliver Sander <oliver.sander@tu-dresden.de> Date: Tue, 22 Mar 2016 14:06:14 +0100 Subject: [PATCH] Get the number of degrees of freedom directly from the function space basis --- src/cosserat-continuum.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cosserat-continuum.cc b/src/cosserat-continuum.cc index ec7e405d..086c8e2f 100644 --- a/src/cosserat-continuum.cc +++ b/src/cosserat-continuum.cc @@ -248,7 +248,7 @@ int main (int argc, char *argv[]) try // Initial iterate // ////////////////////////// - SolutionType x(feBasis.indexSet().size()); + SolutionType x(feBasis.size()); if (parameterSet.hasKey("startFromFile")) { -- GitLab