Commit 58527729 authored by Alexander Wiebel's avatar Alexander Wiebel

[FIX] fixed code according to warning to eliminate warning

parent fae4e864
...@@ -167,7 +167,7 @@ size_t WOctNode::getTotalNodeCount() ...@@ -167,7 +167,7 @@ size_t WOctNode::getTotalNodeCount()
void WOctNode::touchPosition( double x, double y, double z ) void WOctNode::touchPosition( double x, double y, double z )
{ {
if( !m_pointCount > 0 ) if( !( m_pointCount > 0 ) )
{ {
m_xMin = m_xMax = x; m_xMin = m_xMax = x;
m_yMin = m_yMax = y; m_yMin = m_yMax = y;
......
...@@ -117,7 +117,7 @@ double WQuadNode::getCenter( size_t dimension ) ...@@ -117,7 +117,7 @@ double WQuadNode::getCenter( size_t dimension )
void WQuadNode::updateMinMax( double x, double y, double value ) void WQuadNode::updateMinMax( double x, double y, double value )
{ {
if( !m_pointCount > 0 ) if( !( m_pointCount > 0 ) )
{ {
m_xMin = m_xMax = x; m_xMin = m_xMax = x;
m_yMin = m_yMax = y; m_yMin = m_yMax = y;
......
Markdown is supported
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