[3rdParty] SalomeMesh: fix parameter typos found by the spellchecker CI
This commit is contained in:
@@ -77,7 +77,7 @@ namespace SMDS {
|
||||
|
||||
template<typename VALUE,
|
||||
typename VALUE_SET_ITERATOR,
|
||||
typename ACCESOR=SMDS::SimpleAccessor<VALUE,VALUE_SET_ITERATOR>,
|
||||
typename ACCESSOR =SMDS::SimpleAccessor<VALUE,VALUE_SET_ITERATOR>,
|
||||
typename VALUE_FILTER=SMDS::PassAllValueFilter<VALUE> >
|
||||
class SMDS_SetIterator : public SMDS_Iterator<VALUE>
|
||||
{
|
||||
@@ -98,7 +98,7 @@ public:
|
||||
_beg = begin;
|
||||
_end = end;
|
||||
_filter = filter;
|
||||
if ( more() && !_filter( ACCESOR::value( _beg )))
|
||||
if ( more() && !_filter(ACCESSOR::value( _beg )))
|
||||
next();
|
||||
}
|
||||
/// Return true iff there are other object in this iterator
|
||||
@@ -109,8 +109,8 @@ public:
|
||||
/// Return the current object and step to the next one
|
||||
virtual VALUE next()
|
||||
{
|
||||
VALUE ret = ACCESOR::value( _beg++ );
|
||||
while ( more() && !_filter( ACCESOR::value( _beg )))
|
||||
VALUE ret = ACCESSOR::value( _beg++ );
|
||||
while ( more() && !_filter(ACCESSOR::value( _beg )))
|
||||
++_beg;
|
||||
return ret;
|
||||
}
|
||||
|
||||
8
src/3rdParty/salomesmesh/inc/SMESH_tree.hxx
vendored
8
src/3rdParty/salomesmesh/inc/SMESH_tree.hxx
vendored
@@ -265,14 +265,14 @@ int SMESH_Tree<BND_BOX,NB_CHILDREN>::getHeight(const bool full) const
|
||||
if ( isLeaf() )
|
||||
return 1;
|
||||
|
||||
int heigth = 0;
|
||||
int height = 0;
|
||||
for (int i = 0; i<NB_CHILDREN; i++)
|
||||
{
|
||||
int h = myChildren[i]->getHeight( false );
|
||||
if ( h > heigth )
|
||||
heigth = h;
|
||||
if ( h > height)
|
||||
height = h;
|
||||
}
|
||||
return heigth + 1;
|
||||
return height + 1;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user