Commit 5d106f79 authored by FPoupon's avatar FPoupon
Browse files

fix compilation warnings

parent a420a4b2
......@@ -4006,7 +4006,7 @@ double gkg::GSLNumericalAnalysisImplementationFactory::
double& bic,
double tolerance,
int32_t maximumIterationCount,
bool verbose ) const
bool /* verbose */ ) const
{
try
......@@ -4131,7 +4131,12 @@ double gkg::GSLNumericalAnalysisImplementationFactory::
// executing python script
////////////////////////////////////////////////////////////////////////////
system( "python /tmp/gmm.py" );
if ( system( "python /tmp/gmm.py" ) < 0 )
{
throw std::runtime_error( "failed to execute python script" );
}
////////////////////////////////////////////////////////////////////////////
......@@ -4321,7 +4326,15 @@ double gkg::GSLNumericalAnalysisImplementationFactory::
return 0;
}
GKG_CATCH( "" );
GKG_CATCH( "double gkg::GSLNumericalAnalysisImplementationFactory::"
"getExpectationMaximizationGaussianMixtureModelAndLabels( "
"const gkg::Matrix& inputData, int32_t distributionCount, "
"std::vector< gkg::Vector >& distributionMeans, "
"std::vector< gkg::Matrix >& distributionStandardDeviations, "
"std::vector< double >& distributionScales, "
"std::vector< int32_t >& labels, gkg::Matrix& probabilities, "
"double& bic, double tolerance, int32_t maximumIterationCount, "
"bool /* verbose */ ) const" );
}
......
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