[GME-commit] GMESRC/GME/ConstraintManager OCLTree.cpp,1.29,1.30
gme-commit at list.isis.vanderbilt.edu
gme-commit at list.isis.vanderbilt.edu
Fri May 13 23:48:06 CDT 2005
Update of /project/gme-repository/GMESRC/GME/ConstraintManager
In directory escher:/tmp/cvs-serv10089
Modified Files:
OCLTree.cpp
Log Message:
Unsigned int in for loop going downward caused infinite loop.
(Bug introduced when stl has been ported)
CVS User: Zoltan Molnar, ISIS (zolmol)
Index: OCLTree.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/ConstraintManager/OCLTree.cpp,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** OCLTree.cpp 13 Oct 2004 15:17:54 -0000 1.29
--- OCLTree.cpp 13 May 2005 22:48:03 -0000 1.30
***************
*** 1785,1789 ****
bool bArgumentsValid = true;
! for ( unsigned int i = 0 ; i < m_vecArguments.size() ; i++ )
bArgumentsValid = m_vecArguments[ i ]->Check( contextFunction ) && bArgumentsValid;
--- 1785,1789 ----
bool bArgumentsValid = true;
! for ( int i = 0 ; i < (int) m_vecArguments.size() ; i++ )
bArgumentsValid = m_vecArguments[ i ]->Check( contextFunction ) && bArgumentsValid;
***************
*** 1792,1796 ****
if ( bArgumentsValid ) {
StringVector vecTypes;
! for ( i = 0 ; i < m_vecArguments.size() ; i++ )
vecTypes.push_back( m_vecArguments[ i ]->m_vecType[ 0 ] );
OclSignature::Function sigFunction( m_strName, vecTypes );
--- 1792,1796 ----
if ( bArgumentsValid ) {
StringVector vecTypes;
! for ( i = 0 ; i < (int) m_vecArguments.size() ; i++ )
vecTypes.push_back( m_vecArguments[ i ]->m_vecType[ 0 ] );
OclSignature::Function sigFunction( m_strName, vecTypes );
More information about the GME-commit
mailing list