Skip to content

Commit

Permalink
Merge pull request #1228 from votjakovr/develop
Browse files Browse the repository at this point in the history
potentially fix integration test
  • Loading branch information
Soeren Sonnenburg committed Jul 9, 2013
2 parents 206a880 + 55adddc commit 044d4ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shogun/machine/gp/ExactInferenceMethod.cpp
Expand Up @@ -296,7 +296,7 @@ void CExactInferenceMethod::update_chol()
/* creates views on kernel and cholesky matrix and perform cholesky */
Map<MatrixXd> K(m_ktrtr.matrix, m_ktrtr.num_rows, m_ktrtr.num_cols);
Map<MatrixXd> L(m_L.matrix, m_ktrtr.num_rows, m_ktrtr.num_cols);
LLT<MatrixXd> llt(K*CMath::sq(m_scale)/CMath::sq(sigma)+
LLT<MatrixXd> llt(K*(CMath::sq(m_scale)/CMath::sq(sigma))+
MatrixXd::Identity(m_ktrtr.num_rows, m_ktrtr.num_cols));
L=llt.matrixU();
}
Expand Down

0 comments on commit 044d4ed

Please sign in to comment.