]> Creatis software - cpPlugins.git/commitdiff
MACOS simple bugs corrected.
authorNicolas Chaves <chadepl@gmail.com>
Wed, 10 Feb 2016 21:20:08 +0000 (16:20 -0500)
committerNicolas Chaves <chadepl@gmail.com>
Wed, 10 Feb 2016 21:20:08 +0000 (16:20 -0500)
lib/cpExtensions/Algorithms/KalmanConstantFilter.cxx
lib/cpExtensions/Algorithms/KalmanFilter.cxx
lib/cpExtensions/Algorithms/KalmanVelocityFilter.cxx
lib/cpExtensions/DataStructures/Graph.hxx
lib/cpPlugins/Interface/ParametersListWidget.cxx

index df901f0..0fd5d6c 100644 (file)
@@ -43,9 +43,7 @@ cpExtensions::Algorithms::KalmanConstantFilter< T >::
 // -------------------------------------------------------------------------
 // Explicit instantiations
 
-using namespace cpExtensions::Algorithms;
-
-template class KalmanConstantFilter< float >;
-template class KalmanConstantFilter< double >;
+template class cpExtensions::Algorithms::KalmanConstantFilter< float >;
+template class cpExtensions::Algorithms::KalmanConstantFilter< double >;
 
 // eof - $RCSfile$
index e8424fc..add2041 100644 (file)
@@ -131,9 +131,7 @@ cpExtensions::Algorithms::KalmanFilter< T >::
 // -------------------------------------------------------------------------
 // Explicit instantiations
 
-using namespace cpExtensions::Algorithms;
-
-template class KalmanFilter< float >;
-template class KalmanFilter< double >;
+template class cpExtensions::Algorithms::KalmanFilter< float >;
+template class cpExtensions::Algorithms::KalmanFilter< double >;
 
 // eof - $RCSfile$
index 1333bf8..a725e16 100644 (file)
@@ -84,9 +84,7 @@ cpExtensions::Algorithms::KalmanVelocityFilter< T >::
 // -------------------------------------------------------------------------
 // Explicit instantiations
 
-using namespace cpExtensions::Algorithms;
-
-template class KalmanVelocityFilter< float >;
-template class KalmanVelocityFilter< double >;
+template class cpExtensions::Algorithms::KalmanVelocityFilter< float >;
+template class cpExtensions::Algorithms::KalmanVelocityFilter< double >;
 
 // eof - $RCSfile$
index b7b045c..d2d2d23 100644 (file)
@@ -104,10 +104,8 @@ RemoveVertex( const I& index )
       } // elihw
 
     } // rof
-    return( true );
-  }
-  else
-    return( false );
+
+  } // fi
 }
 
 // -------------------------------------------------------------------------
index 7ac8534..4214ecd 100644 (file)
@@ -66,10 +66,10 @@ GetIntValues( ) const
   {
     const char* text = table->item( i, 0 )->text( ).toStdString( ).c_str( );
     char* ptr = 0;
-    double v = std::strtod( text, &ptr );
+    double v = strtod( text, &ptr );
     if( *ptr == '\0' && ptr != text )
       values.push_back( int( v ) );
-    
+
   } // rof
   return( values );
 }
@@ -85,7 +85,7 @@ GetUintValues( ) const
   {
     const char* text = table->item( i, 0 )->text( ).toStdString( ).c_str( );
     char* ptr = 0;
-    double v = std::strtod( text, &ptr );
+    double v = strtod( text, &ptr );
     if( *ptr == '\0' && ptr != text && v >= double( 0 ) )
       values.push_back( ( unsigned int )( v ) );
 
@@ -104,10 +104,10 @@ GetDoubleValues( ) const
   {
     const char* text = table->item( i, 0 )->text( ).toStdString( ).c_str( );
     char* ptr = 0;
-    double v = std::strtod( text, &ptr );
+    double v = strtod( text, &ptr );
     if( *ptr == '\0' && ptr != text )
       values.push_back( v );
-    
+
   } // rof
   return( values );
 }