Skip to content

Commit 6ac157d

Browse files
author
Roberto Di Remigio
committed
Solve inconsistent initialization of ConAnsatzFunction
1 parent e59b7c5 commit 6ac157d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/wemFiles/ConAnsatzFunction.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ ConAnsatzFunction :: ConAnsatzFunction(){
2424
a = 1.25; ///< compression constant, a > 1
2525
b = 0.001; ///< compression constant, 0 < b < 1
2626

27-
quadratureLevel_ = 2;
27+
quadratureLevel_ = 1;
2828
G = (SparseMatrix*) malloc(sizeof(SparseMatrix));
2929
}
3030

@@ -43,7 +43,7 @@ ConAnsatzFunction :: ConAnsatzFunction(const Compression & _comp){
4343
a = _comp.aPrioriA; ///< compression constant, a > 1
4444
b = _comp.aPosterioriB; ///< compression constant, 0 < b < 1
4545

46-
quadratureLevel_ = 2;
46+
quadratureLevel_ = 1;
4747
G = (SparseMatrix*) malloc(sizeof(SparseMatrix));
4848
}
4949

@@ -65,7 +65,7 @@ ConAnsatzFunction :: ConAnsatzFunction(unsigned int _p, unsigned int _m, unsigne
6565
a = 1.25; ///< compression constant, a > 1
6666
b = 0.001; ///< compression constant, 0 < b < 1
6767

68-
quadratureLevel_ = 2;
68+
quadratureLevel_ = 1;
6969
G = (SparseMatrix*) malloc(sizeof(SparseMatrix));
7070
}
7171

0 commit comments

Comments
 (0)