From 3efa519094f91c266ea782584b5ccbe1fc899074 Mon Sep 17 00:00:00 2001 From: wolf Date: Thu, 5 Sep 2002 14:43:23 +0000 Subject: [PATCH] Fix a rather nasty bug. git-svn-id: https://svn.dealii.org/trunk@6361 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/include/base/table.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/base/include/base/table.h b/deal.II/base/include/base/table.h index be0f1f4e39..b2f88f1f40 100644 --- a/deal.II/base/include/base/table.h +++ b/deal.II/base/include/base/table.h @@ -1639,7 +1639,7 @@ const T & Table<2,T>::el (const unsigned int i, const unsigned int j) const { - return this->val[i*this->table_size[0]+j]; + return this->val[i*this->table_size[1]+j]; }; @@ -1650,7 +1650,7 @@ T & Table<2,T>::el (const unsigned int i, const unsigned int j) { - return this->val[i*this->table_size[0]+j]; + return this->val[i*this->table_size[1]+j]; }; -- 2.39.5