From b046434a164b9ff945ea0b7135c94be57bcb45c8 Mon Sep 17 00:00:00 2001 From: Adrian Burri <burriad@dune-project.org> Date: Fri, 2 Sep 2005 12:30:45 +0000 Subject: [PATCH] Bugfix [[Imported from SVN: r2719]] --- fem/space/combinedspace.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fem/space/combinedspace.hh b/fem/space/combinedspace.hh index 309303295..bcade6b81 100644 --- a/fem/space/combinedspace.hh +++ b/fem/space/combinedspace.hh @@ -54,7 +54,7 @@ namespace Dune { } int combinedDof(int containedIndex, int component) const { - return containedIndex*N + component; + return containedIndex*numComponents_ + component; } private: -- GitLab