getfem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Getfem-commits] (no subject)


From: Yves Renard
Subject: [Getfem-commits] (no subject)
Date: Tue, 3 Dec 2019 01:55:16 -0500 (EST)

branch: master
commit ff88af6d308c33d9b2370f28a38de7c516fe0ebf
Author: Yves Renard <address@hidden>
Date:   Tue Dec 3 07:55:05 2019 +0100

    small fix
---
 src/getfem_generic_assembly_tree.cc | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/getfem_generic_assembly_tree.cc 
b/src/getfem_generic_assembly_tree.cc
index 9bf1998..7de55d9 100644
--- a/src/getfem_generic_assembly_tree.cc
+++ b/src/getfem_generic_assembly_tree.cc
@@ -541,9 +541,10 @@ namespace getfem {
       if (pnode1->children.size() != pnode2->children.size()) return false;
       if (pnode1->nb_test_functions() != pnode2->nb_test_functions())
         return false;
-      // if (pnode1->t.sizes().size() != pnode2->t.sizes().size()) return 
false;
-      // for (size_type i=nb_test_functions(); i<pnode1->t.sizes().size(); ++i)
-      //   if (pnode1->t.sizes()[i] != pnode2->t.sizes()[i]) return false;
+      if (pnode1->t.sizes().size() != pnode2->t.sizes().size()) return false;
+      for (size_type i=pnode1->nb_test_functions();
+           i<pnode1->t.sizes().size(); ++i)
+        if (pnode1->t.sizes()[i] != pnode2->t.sizes()[i]) return false;
       if (pnode1->nbc1 != pnode2->nbc1) return false;
       break;
     case GA_NODE_INTERPOLATE_FILTER:



reply via email to

[Prev in Thread] Current Thread [Next in Thread]