[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Getfem-commits] r5401 - /trunk/getfem/src/getfem_generic_assembly.cc
From: |
Yves . Renard |
Subject: |
[Getfem-commits] r5401 - /trunk/getfem/src/getfem_generic_assembly.cc |
Date: |
Tue, 11 Oct 2016 08:41:51 -0000 |
Author: renard
Date: Tue Oct 11 10:41:50 2016
New Revision: 5401
URL: http://svn.gna.org/viewcvs/getfem?rev=5401&view=rev
Log:
minor fix
Modified:
trunk/getfem/src/getfem_generic_assembly.cc
Modified: trunk/getfem/src/getfem_generic_assembly.cc
URL:
http://svn.gna.org/viewcvs/getfem/trunk/getfem/src/getfem_generic_assembly.cc?rev=5401&r1=5400&r2=5401&view=diff
==============================================================================
--- trunk/getfem/src/getfem_generic_assembly.cc (original)
+++ trunk/getfem/src/getfem_generic_assembly.cc Tue Oct 11 10:41:50 2016
@@ -7412,7 +7412,8 @@
break;
case GA_SYM: case GA_SKEW:
- if (dim0 != 2 || size0.back() != size0[size0.size()-2])
+ if (child0->tensor_proper_size() != 1 &&
+ (dim0 != 2 || size0.back() != size0[size0.size()-2]))
ga_throw_error(expr, pnode->pos, "Sym and Skew operators are for "
"square matrices only.");
mi = size0;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Getfem-commits] r5401 - /trunk/getfem/src/getfem_generic_assembly.cc,
Yves . Renard <=