[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Getfem-commits] [getfem-commits] branch master updated: little fix on g
From: |
Yves Renard |
Subject: |
[Getfem-commits] [getfem-commits] branch master updated: little fix on ga_instruction_contraction_switch |
Date: |
Tue, 28 Jun 2022 11:41:26 -0400 |
This is an automated email from the git hooks/post-receive script.
renard pushed a commit to branch master
in repository getfem.
The following commit(s) were added to refs/heads/master by this push:
new 287ad65e little fix on ga_instruction_contraction_switch
287ad65e is described below
commit 287ad65efa8fe34e6b961ec361a9f20a43d47656
Author: Yves Renard <Yves.Renard@insa-lyon.fr>
AuthorDate: Tue Jun 28 17:41:13 2022 +0200
little fix on ga_instruction_contraction_switch
---
src/getfem_generic_assembly_compile_and_exec.cc | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/getfem_generic_assembly_compile_and_exec.cc
b/src/getfem_generic_assembly_compile_and_exec.cc
index b2f629c5..8a6087c0 100644
--- a/src/getfem_generic_assembly_compile_and_exec.cc
+++ b/src/getfem_generic_assembly_compile_and_exec.cc
@@ -2996,7 +2996,7 @@ namespace getfem {
}
if (tc2_.sparsity() == 2) {
size_type q2 = tc2.sizes()[1];
- size_type n2 = (tc2.sizes().size() > 2) ? tc2.sizes()[1] : 1;
+ size_type n2 = (tc2.sizes().size() > 2) ? tc2.sizes()[2] : 1;
if (n2*q2 == n) {
switch (n2) {
case 1:
@@ -3067,7 +3067,7 @@ namespace getfem {
}
if (tc1_.sparsity() == 2) {
size_type q1 = tc1.sizes()[1];
- size_type n1 = (tc1.sizes().size() > 2) ? tc1.sizes()[1] : 1;
+ size_type n1 = (tc1.sizes().size() > 2) ? tc1.sizes()[2] : 1;
if (n1*q1 == n) {
switch (n1) {
case 1:
@@ -3206,7 +3206,7 @@ namespace getfem {
}
if (tc2_.sparsity() == 2) {
size_type q2 = tc2.sizes()[1];
- size_type n2 = (tc2.sizes().size() > 2) ? tc2.sizes()[1] : 1;
+ size_type n2 = (tc2.sizes().size() > 2) ? tc2.sizes()[2] : 1;
if (n2*q2 == n) {
switch (n2) {
case 1:
@@ -3277,7 +3277,7 @@ namespace getfem {
}
if (tc1_.sparsity() == 2) {
size_type q1 = tc1.sizes()[1];
- size_type n1 = (tc1.sizes().size() > 2) ? tc1.sizes()[1] : 1;
+ size_type n1 = (tc1.sizes().size() > 2) ? tc1.sizes()[2] : 1;
if (n1*q1 == n) {
switch (n1) {
case 1:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Getfem-commits] [getfem-commits] branch master updated: little fix on ga_instruction_contraction_switch,
Yves Renard <=