Commit 54bdf126 authored by passerini's avatar passerini
Browse files

warning suppression: use the same type for the iteration variable and the test variable.

In this case, UInt rather than int: after Samuel work on CurrentFE, fe.nbFEDof() (or fe.nbNode) are UInt.
parent d821e06b
......@@ -24,10 +24,10 @@ namespace LifeV
void
compute_vec( Real constant, ElemVec& elvec, const CurrentFE& fe, int iblock )
{
int i, ig;
UInt i, ig;
ElemVec::vector_view vec = elvec.block( iblock );
Real s;
for ( i = 0;i < fe.nbNode;i++ )
for ( i = 0;i < fe.nbFEDof();i++ )
{
s = 0;
for ( ig = 0;ig < fe.nbQuadPt();ig++ )
......
......@@ -589,7 +589,8 @@ assembleTransposeMatrix( EpetraMatrix<double>& M,
ElemMat::matrix_type mat(elmat.block( jblock, iblock ));
mat *= val;
int i, j, k1, k2;
int i, j;
UInt k1, k2;
UInt eleID1 = fe1.currentLocalId();
UInt eleID2 = fe2.currentLocalId();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment