|
@@ -113,7 +113,7 @@ void KernelData::updateCholeskyFactorization ()
|
|
|
cr->robustChol ( kernelMatrix, choleskyMatrix );
|
|
|
logdet = cr->getLastLogDet();
|
|
|
|
|
|
- if ( !finite ( logdet ) )
|
|
|
+ if ( !NICE::isFinite( logdet ) )
|
|
|
{
|
|
|
choleskyMatrix.resize ( kernelMatrix.rows(), kernelMatrix.cols() );
|
|
|
choleskyMatrix.setIdentity();
|